Reading and clearing DJI drone error codes in the Fly app starts with checking the camera view in DJI Fly for any red warning banners, then opening the aircraft status menu to find the full error code log. Most codes can be cleared with a power cycle, sensor recalibration, or firmware update, while persistent codes may require DJI Assistant 2 or professional service.
I have been flying DJI drones for over six years and I have seen just about every error code in the book. Some of them are harmless. Others are your drone’s way of telling you not to take off. This guide walks you through exactly how to read those codes in the DJI Fly app, what the most common ones mean, and how to clear them step by step.
Table of Contents
What Are DJI Drone Error Codes and How Do They Appear in the Fly App?
DJI drone error codes are alphanumeric messages your aircraft’s flight controller generates when a sensor, component, or software process reports a problem. They show up in the DJI Fly app as red warning banners, popup alerts, or text entries in the aircraft status menu. Each code points to a specific subsystem, so learning to read them saves you time, money, and a lot of guesswork.
When the flight controller detects something off, it sends the diagnostic message to the remote controller, which relays it to the DJI Fly app on your phone or tablet. You will typically see the code during pre-flight checks, but some only appear mid-flight or after landing. The app usually pairs the code with a short plain-language description, though DJI’s official documentation is famously thin on details.
The Anatomy of a DJI Error Code
Most DJI error codes follow a 5-digit format. The first digit identifies the subsystem, and the remaining digits narrow down the specific fault. For example, code 40021 breaks down as 4 (gimbal subsystem), 0 (general category), 02 (specific fault), and 1 (instance).
The main series you will encounter include the 1xxxx codes for app and firmware issues, the 3xxxx codes for IMU, compass, and ESC problems, the 4xxxx codes for gimbal and camera faults, and the 5xxxx codes for battery and power system errors. Knowing this numbering scheme helps you zero in on the affected system before you even read the description.
Warnings vs. Critical Errors in the Fly App
DJI Fly categorizes issues into warnings and critical errors. Warnings are yellow or orange banners that allow you to proceed with caution, while critical errors are red and may block takeoff entirely. Always read the full text before dismissing either type, since some warnings indicate escalating problems if ignored.
Critical errors often include a “Force Landing” or “Cannot Take Off” state, meaning the drone has locked the motors until the fault is resolved. The app usually shows a small icon you can tap for more details, which opens the detailed status page where the raw error code is displayed.
Step-by-Step: How to Read Error Codes in DJI Fly
To read a DJI error code in the Fly app, power on the aircraft and remote controller, connect your phone, then look at the top of the camera view for warning banners or tap the three-dot menu to open aircraft status. Tap any warning indicator to see the full error code, description, and recommended action.
This is the process I follow every time a code appears. It only takes about 60 seconds once you know where to look.
Where to Find Error Codes in the DJI Fly App
Open DJI Fly and connect to your aircraft. Look at the top status bar above the live camera feed. Warning icons appear as small colored triangles or exclamation marks. Tap any visible warning to open the detailed status list.
If no warning is visible but you suspect an issue, tap the three-dot menu in the top right corner, then select “Safety” or “Aircraft Status” depending on your firmware version. The status screen shows all active error codes with their numeric identifiers and brief descriptions.
Understanding Error Code Popups and Logs
Pop-up alerts appear immediately when the drone detects a fault and usually include a numbered code followed by a short phrase. For example, “30008 IMU data abnormal” tells you the IMU is reporting inconsistent readings. The pop-up stays on screen until you acknowledge it.
The full log is accessible through the same status menu and shows historical codes from your current flight session. To get a deeper history, you need to connect the drone to a computer and use DJI Assistant 2, which exports the .DAT flight log files. I will cover that workflow in the FAQ section below.
How to Clear DJI Drone Error Codes (Basic Troubleshooting)
To clear a DJI drone error code, start with a full power cycle of the aircraft and remote controller, then update the firmware through DJI Fly, and recalibrate any affected sensor such as the IMU or compass. If the code persists, connect the drone to DJI Assistant 2 on a PC and use the refresh firmware option, which clears most software-related codes.
Here is the exact sequence I use, in order, before considering professional repair. About 80 percent of the codes I have dealt with are resolved within the first three steps.
Step 1: The Universal Power Cycle Fix
Turn off the aircraft, remove the battery if possible, and wait 30 seconds. Do the same for the remote controller. Reinsert the battery, power on the aircraft first, then the remote controller, and finally relaunch DJI Fly. This clears the volatile memory where transient error flags are stored.
Power cycling works for many sensor warm-up errors, temporary GPS lock issues, and brief communication glitches between the aircraft and controller. If the code does not return after a fresh boot, the issue was likely a one-time hiccup.
Step 2: Recalibrating Sensors to Clear Persistent Codes
Persistent IMU, compass, and gimbal errors usually require recalibration. Open DJI Fly, tap the three-dot menu, select “Safety,” then choose “IMU Calibration” or “Compass Calibration” depending on the code. Follow the on-screen instructions carefully, performing each rotation slowly on a flat, level surface away from metal objects.
Gimbal calibration is automatic on most modern DJI drones, but you can force it through the same safety menu. Place the aircraft on a flat surface with the gimbal unobstructed, then tap “Gimbal Auto Calibration.” The motors will run through a brief test sequence. If the calibration fails, you likely have a hardware issue.
Step 3: Update Firmware via DJI Fly
Firmware mismatches between the aircraft, remote controller, and battery are a common source of error codes. Connect your drone to DJI Fly with at least 50 percent battery, tap the profile icon, then check for firmware updates. Download and install any available updates, and make sure all components show matching firmware versions.
I have personally seen the error code 30064 disappear immediately after a firmware update on a Mini 3 that had been sitting unused for two months. Forum users report the same experience with the Mavic Air 2 and Air 2S after extended storage.
Step 4: Use DJI Assistant 2 for Stubborn Codes
If a code remains after power cycling, recalibration, and firmware updates, download DJI Assistant 2 to a Windows or macOS computer. Connect the aircraft via USB, open the software, and select your drone. The “Firmware Refresh” option reinstalls the firmware from scratch and clears software-based error flags that survive normal updates.
DJI Assistant 2 also gives you access to the full flight log, where you can read raw error codes, sensor readings, and motor status. This is the same data DJI Support sees when you submit a service ticket, so it is invaluable for diagnosis.
Step 5: When to Use a Factory Reset
A factory reset wipes all user settings, calibration data, and paired devices, returning the aircraft to out-of-box state. Use this only as a last resort before contacting DJI, since you will need to reconfigure everything afterward. On most models, the factory reset option lives in the DJI Fly safety menu or in DJI Assistant 2.
Factory resets can clear configuration-related errors like incorrect gimbal limits or stuck return-to-home altitudes. They will not fix hardware faults, so if the code returns after a reset, the problem is physical and likely needs service.
Common DJI Error Code Categories and What They Mean
DJI error codes are grouped by subsystem number, with 3xxxx covering IMU and compass, 4xxxx covering gimbal and camera, 301xx covering ESC and motors, and 5xxxx covering battery and power. Knowing which series your code belongs to tells you immediately which system to investigate.
This reference section covers the four most common categories. Use it as a quick lookup the next time a code appears in the Fly app.
IMU and Compass Error Codes (300xx Series)
IMU errors like 30008 and 10016 indicate the inertial measurement unit is reporting abnormal data, usually from a hard landing, crash, or significant temperature change. Compass errors like 10017 and 30064 mean the magnetic sensor is detecting interference or needs recalibration for your current location.
To clear most IMU errors, perform a full IMU calibration in a temperature-stable environment. Compass errors typically clear after a fresh compass calibration away from cars, rebar, and other magnetic sources. If both calibrations succeed but the code returns, the sensor itself may be damaged and require replacement.
On the Mavic 3 series, IMU errors are particularly common after firmware updates. The dev.to technical reference I reviewed noted that Bosch BMI270 IMU chips can throw false errors during cold-boot sequences, which is why a power cycle usually resolves them.
Gimbal and Camera Error Codes (400xx Series)
Gimbal errors such as 40011 (gimbal motor overload) and 40021 (gimbal gyroscope data abnormal) usually appear after an impact or when the gimbal is obstructed during startup. Camera errors in this series often relate to SD card issues, lens calibration, or image sensor overheating.
Power cycle the drone and remove any gimbal protector or sticky residue from the camera area. If the gimbal still wobbles or shows an error, run the gimbal auto calibration through the DJI Fly safety menu. Persistent 400xx codes after calibration almost always point to a damaged gimbal motor or ribbon cable, which requires professional service.
Reddit users on r/dji frequently report 40011 after even minor bumps, especially on the Mini series. In most cases, recalibration clears the code, but a small percentage require a gimbal replacement.
ESC and Motor Error Codes (301xx Series)
ESC (Electronic Speed Controller) errors indicate a problem with the motor driver board, propeller mounting, or windings. Code 30165 and similar 301xx codes typically mean the flight controller detected current draw outside expected ranges for a specific motor.
First, remove and reseat the propellers, making sure they click firmly into place. Inspect each motor for hair, debris, or visible damage. Spin each motor by hand to confirm smooth rotation. If one motor feels gritty or stops suddenly, the bearing may be failing.
ESC errors are often caused by debris in the motor rather than actual ESC failure. A can of compressed air and a soft brush can clear most obstructions. If the error persists across multiple flights, the ESC board itself likely needs replacement, which is a board-level repair best handled by a service center.
Battery and Power System Error Codes (500xx Series)
Battery errors in the 500xx range cover cell imbalance, BMS (Battery Management System) faults, communication errors between the battery and aircraft, and critical temperature warnings. Code 30210 is a frequent offender on the Mini 3, indicating a power system hardware fault.
Start by inspecting the battery contacts on both the battery itself and the aircraft battery compartment. Clean any oxidation with a dry cotton swab. Try the battery in a different aircraft if you have access to one, or try a known-good battery in your drone, to isolate whether the fault is the battery or the aircraft.
For 30210 specifically, forum reports suggest it often appears after a crash or hard landing and is sometimes resolved by a battery firmware update through DJI Assistant 2. If the code persists after a battery update, the battery’s BMS is likely damaged and the battery should be retired.
When to Seek Professional Repair vs. DIY Fix
You can clear most DJI error codes yourself if they relate to calibration, firmware, or temporary sensor glitches, but codes that persist after recalibration, firmware refresh, and a factory reset usually indicate hardware damage that requires professional repair. When in doubt, submit your flight logs to DJI Support for an official diagnosis before attempting board-level work.
Use this decision rule of thumb. If you have completed the five-step clearing process and the code still returns on the next flight, stop flying the aircraft. Continuing to fly with an active error can turn a minor repair into a total loss.
Error Codes You Can Clear Yourself
IMU and compass errors that resolve after a clean calibration. Gimbal errors that disappear after a power cycle and auto calibration. ESC errors triggered by debris that are gone after cleaning. Battery communication errors that resolve after a firmware update or contact cleaning. Most firmware-mismatch codes.
These are the codes that respond to the basic troubleshooting workflow described above. The Fly app and DJI Assistant 2 give you the tools to address all of them without opening the aircraft.
Error Codes That Require DJI Support
Codes that return immediately after every power cycle. IMU or compass errors that fail calibration multiple times. Gimbal codes that persist after a clean auto calibration. ESC codes that point to a specific motor with confirmed mechanical damage. Battery codes that remain after a firmware refresh, especially 30210 on Mini 3 units.
For these scenarios, open the DJI Fly app, go to Profile, then Support, and submit a service request. Upload your most recent flight log, which DJI Support can analyze to confirm the diagnosis. If the drone is under warranty or covered by DJI Care Refresh, repairs are often free or low-cost.
What to Tell DJI Support
When you contact DJI, have the exact error code, the conditions under which it appeared, the troubleshooting steps you have already tried, and your flight log ready. The more detail you provide, the faster the support team can diagnose the issue and provide a repair quote or shipping label.
I have submitted about a dozen tickets over the years, and the ones with full logs and step-by-step notes were resolved in 48 hours. Tickets with just the error code and no log often bounce back asking for more information.
Frequently Asked Questions
How do I diagnose a DJI drone issue?
To diagnose a DJI drone issue, start by reading the error code in the DJI Fly app through the aircraft status menu, then power cycle the drone, recalibrate affected sensors, and update the firmware. If the code persists, connect the drone to DJI Assistant 2 on a computer to read the full flight log and run a firmware refresh.
How do I hard reset a DJI drone?
To hard reset a DJI drone, open DJI Fly, tap the three-dot menu, then select Safety and choose Factory Reset, or use DJI Assistant 2 on a computer to perform a full reset. A hard reset erases all user settings, calibration data, and paired devices, so you will need to reconfigure the drone afterward.
What is error code E0001 on DJI?
Error code E0001 on DJI drones typically indicates a generic system fault that requires the user to power cycle the aircraft, check for firmware updates, and recalibrate all sensors. If the code persists after these steps, contact DJI Support with your flight log for further diagnosis.
How do I read DJI flight log data?
To read DJI flight log data, connect your drone to a computer via USB, open DJI Assistant 2, export the .DAT flight log file, and open it with a free log reader tool like the DatCon converter. The log shows sensor readings, GPS data, battery status, and any error codes generated during the flight.
Can I clear DJI error codes without DJI Assistant?
Yes, you can clear most DJI error codes without DJI Assistant by using the DJI Fly app to power cycle the drone, recalibrate the affected sensor, and install any available firmware updates. DJI Assistant 2 is only required for persistent codes that survive the in-app clearing workflow.
Final Thoughts on Reading and Clearing DJI Drone Error Codes
Knowing how to read and clear DJI drone error codes in the Fly app turns a frustrating mystery into a quick, repeatable process. Start with the status menu, work through the five-step clearing workflow, and only escalate to DJI Assistant 2 or professional service when basic steps fail. With the right approach, most codes clear in under 15 minutes and your drone is back in the air the same day.