上云API与大疆机场 执行任务 错误码:314013
Completed我使用上云API的demo 2023年3月14日下载的最新版本 ,对接大疆机场 ,执行任务时每次到15%就会出错,错误码为 314013
大疆机场、遥控器 和飞机的固件都是最新的
网络畅通 日志中的航线任务kmz文件路径 通过链接可以下载下来
-
Caused by:org.springframework.dao.DuplicateKeyException:
Error updating database.Cause:java.sgl.SOLIntegrityConstraintviolationException:Duplicate entry for key 'manage device payload.payload sn UNIQUE'
The error may exist in com/dji/sample/manage/dao/IDevicePayloadMapper.java (best guess)
The error may involve com.dji.sample.manage.dao.IDevicePayloadMapper.insert-Inline
The error occurred while setting parameters
SQL:INSERT INTO manage_device_payloadpayload_sn,payload_name,payload_type,sub_type,payload_index,device_sn,create_time,update_time VALUES
(?,?,?,?,?,?,,?)
#Cause:java.sql.SOLIntegrityConstraintviolationException:Duplicate entry 'for key 'manage_device_payload.payload_sn_UNIQUE'
Duplicate entry 'for key 'manage_device_payload.payload_sn_UNIQUE';nested exception is java.sql.SOLIntegrityConstraintviolationException:Duplicate entry
for key 'manage_device_payload.payload_sn_UNIQUE'
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:247)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:88)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440)
at jdk.proxy2/jdk.proxy2.$Proxy101.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:271)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:60)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
Please sign in to leave a comment.
Comments
8 comments