error錯誤外部錯誤物件 錯誤類型 error物件現在會比對 API 呼叫傳回的 HTTP 狀態代碼,讓開發人員更容易處理錯誤。 財產類型描述 code字串符合 HTTP 狀態代碼的傳回錯誤碼。 message字串也相依於傳回 HTTP 狀態代碼的標準化錯誤訊息。 innererrorInnererror提供造成錯誤的原因詳細數據。
HTTP status codes, including HTTP status code 408, are grouped into categories. While a 408 status code implies a client-side error, other status codes might suggest different issues. For instance, a 500 status code, known as the "Internal Server Error", signals an issue with the web server...
HTTP Status Code Error Error Description 可能原因 400 invalid_grant invalid username or password 用户名或者密码输入错误 400 invalid_grant “client_id does not match” “client_id does not match”是client_id传入不正确,“client_secret does not match”是client_secret传入不正确,client_id以及client_se...
469 Invalid Service - parse result error 内部异常 469 Invalid Service - error code missing 内部异常 502 Bad Gateway 识别程序超时并断开连接 503 Service Unavailable API网关等待超时断开连接 如果您遇到的错误码未在上述表格中找到,可在以下链接中进一步查看 错误代码表 上一篇:云市场API参考下一篇:自定义模板...
TIMEOUT 408 Request Timeout CONFLICT 409 Write Conflict PRECONDITION_FAILED 412 HTTP precondition header failed INTERNAL_ERROR 500 Internal Error NOT_IMPLEMENTED 501 Not Implemented UNDER_MAINTENANCE 503 Under Maintenance Account Errors 展开表 CodeHTTP Status CodeError Message Template BATCH_CREATE_TEST_...
apiResultCode String(10) Y API平台结果代码 apiErrorMsg String(200) N API平台异常信息 apiResponseID String(40) Y API响应唯一号UUID apiResultData String N 业务处理详细结果 2.2 通讯协议与报文格式 通讯双方采用HTTP作为通讯协议,提交方式为POST方式,请求头须添加"Content-type","application/x-www-form-...
<?php // error_reporting(0); header("Access-Control-Allow-Origin:*"); header('Content-type:text/json; charset=utf-8'); $user = '小米运动帐号'; $pwd = '小米运动密码'; $steps = 66666; // 要刷的步数 $code = access_code($user, $pwd); if (strlen($code) > 3) { $tokenjson...
如果想要返回状态码之外的结果,可以直接调用StatusCode方法,并指明具体的状态码,如下: returnStatusCode(Microsoft.AspNetCore.Http.StatusCodes.Status500InternalServerError,"服务器遇到错误,无法完成请求"); 如果返回的结果是包含对象的状态码,这一类的结果继承自ObjectResult,包含了OkObjectResult、CreatedResult、NotFoun...
RequestTimeout(HTTP 状态代码 408) 无法在允许的时间内完成该操作。 展开表 错误代码用户消息 RequestCanceled 客户端已取消请求。 ScoreRequestTimeout 执行请求超时。 Conflict(HTTP 状态代码 409) 资源已存在。 展开表 错误代码用户消息 ModelOutputMetadataMismatch 输出参数名称无效。 请尝试使用元数据编辑器模块...
参数 参数类型 描述 error_msg String 错误信息。 error_code String 错误码。请求示例 说明 调用API的请求地址{endpoint}获取方法请参见获取https://{endpoint}。 ● 单轮问答 POST https://{endpoint}/v1/{project_id}/deployments/{deployment_id}/chat/completions Request Header: ...