Please select Into the mobile phone version | Continue to access the computer ver.
Possible errors for methods
512 5 2020-10-9
Uploading and Loding Picture ...(0/1)
o(^-^)o
NCB
lvl.2

Brazil
Offline

Hi!

What are the possible errors for the loadMission and uploadMission methods?
2020-10-9
Use props
kv886
lvl.4

Hong Kong
Offline


What is the content of your error log
2020-10-15
Use props
NCB
lvl.2

Brazil
Offline

There are no error logs.

I'm building an application that uses the load and uploads mission methods, and I need to handle the possible errors the can be returned from them. For that, I need to know exactly what those errors are.
2020-10-16
Use props
djiuser_OR8EW5uz3gSA
lvl.4

Canada
Offline

NCB Posted at 10-16 12:23
There are no error logs.

I'm building an application that uses the load and uploads mission methods, and I need to handle the possible errors the can be returned from them. For that, I need to know exactly what those errors are.

I was not able to find a complete list when I was implementing the same but you can look up the error codes that you receive in the NSError+DJISDK.h header file which is included in the DJISDK.framework attached to your project in iOS. I assume there would also be a similar header file for Android somewhere in the attached SDK
2020-10-19
Use props
DJI_Lisa
lvl.4
United States
Offline

upload mission will throw an NSError if there is an issue from this list: enum DJISDKMissionError
2020-10-19
Use props
NCB
lvl.2

Brazil
Offline

I forgot t mention, but I'm on Android.

All those errors from DJIMissionError can be returned from the uploadMission method?

And what about the loadMission method?
2020-10-19
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules