SDK调用常见错误码/错误信息
| 
       错误码  | 
     
       错误信息  | 
     
       错误原因  | 
     
       解决方案  | 
    
|---|---|---|---|
| 
       DLM.0  | 
     
       null  | 
     
       表示API调用成功。  | 
     
       表示调用成功,无需处理。  | 
    
| 
       APIG.0101  | 
     
       The API does not exist or has not been published in the environment  | 
     
      
  | 
     
      
  | 
    
| 
       APIG.0106  | 
     
       Orchestration error: Invalid header parameter: x-Authorization, required  | 
     
       SDK未添加x-Authorization。  | 
     |
| 
       APIG.0106  | 
     
       Orchestration error: Invalid ___ parameter: ___, required  | 
     
       未传指定参数。  | 
     
       调用时上传此参数。  | 
    
| 
       APIG.0201  | 
     
       Backend timeout  | 
     
       后端超时(API网关请求维持50秒后未收到返回结果,会返回此错误信息。)  | 
     
       请先确认数据服务访问日志,如果访问日志中有数据(数据略有延迟),则说明数据源取数时间过长,请尽量优化取数sql逻辑。 如果访问日志中无数据,请确认(专享版:数据服务集群)是否运行中。  | 
    
| 
       APIG.0303  | 
     
       Incorrect app authentication information: app not found  | 
     
       应用不存在。  | 
     
       确认请求的key和secret是否准确。  | 
    
| 
       APIG.0304  | 
     
       The app is not authorized to access the API  | 
     
       应用无权访问当前API。  | 
     
      
  | 
    
| 
       APIG.0308  | 
     
       The throttling threshold has been reached: policy domain over ratelimit, limit:1000, time:1 day  | 
     
       域名的请求次数达到了给定的上限:1天1000次。  | 
     
      
  | 
    
| 
       DLM.4018  | 
     
       Api is not exist  | 
     
       API不存在。  | 
     
       20200630版本前发布的API: 请确认调用时参数x-api-id的值,是否正确(该值为所访问API的ID,请向此API的提供者获取) 20200630版本后发布的API: 
 其他(数据同步异常): 
  | 
    
| 
       DLM.4094  | 
     
       Call api failed.  | 
     
       调用API失败。  | 
     
      
  | 
    
| 
       DLM.4211  | 
     
       Token invalid  | 
     
       token校验不通过。  | 
     
      
  | 
    
| 
       DLM.4312  | 
     
       Missing parameters: ___  | 
     
       缺少指定参数。  | 
     
       调用时上传此参数。  | 
    
| 
       400  | 
     
       App does not have permission to access API.  | 
     
       应用无权访问当前API。  | 
     
      
  | 
    
| 
       401  | 
     
       Authorization not found.  | 
     
       签名信息未找到。  | 
     
      
  | 
    
| 
       401  | 
     
       Authorization format incorrect.  | 
     
       签名格式错误。  | 
     
       建议使用SDK生成签名。  | 
    
| 
       401  | 
     
       Signing key not found.  | 
     
       签名密钥未找到。  | 
     
       确认请求的key和secret是否准确。  | 
    
| 
       401  | 
     
       Signed header ___ not found.  | 
     
       签名头未找到。  | 
     
       请确认用于签名的header头参数在调用时上传了。  | 
    
| 
       401  | 
     
       Header x-sdk-date not found.  | 
     
       签名头x-sdk-date未找到。  | 
     
       此参数为签名时自动生成,若通过其他方式调用,请将SDK签名后的此参数在调用时也进行上传。  | 
    
| 
       401  | 
     
       Signature expired.  | 
     
       签名过期。  | 
     
      
  | 
    
| 
       401  | 
     
       Verify authorization failed.  | 
     
       签名校验失败。  | 
     
       请确认进行签名的所有参数,均已上传且和签名时相同,包括且不限于url、path、header、query、body等。 
        说明: 
        
  | 
    
| 
       DLG.0902  | 
     
       Fail to call the agent. For details about No matching constant for [-1], see the CDM logs.  | 
     
       CDM上的代理拒绝服务。 
  | 
     
      
  | 
    
| 
       DAYU.1088  | 
     
       Failed to process the request sent by the agent.  | 
     
       CDM无响应。  | 
     
      
  |