Error resource
The error resource is returned whenever an error occurs in the processing of a request.
Error responses follow the definition in the OData v4 specification for error responses.
See the topic on Error response for more information about handling errors with the OneDrive API.
JSON Representation
The error resource is composed of these resources:
{
"error": { "@odata.type": "odata.error" }
}
odata.error resource type
Inside the error response is an error resource that includes the following properties:
{
"code": "string",
"message": "string",
"innererror": { "@odata.type": "odata.error" }
}
Property name | Value | Description\ |
---|---|---|
code | string | An error code string for the error that occurred |
message | string | A developer ready message about the error that occurred. This should not be displayed to the user directly. |
innererror | error object | Optional. Additional error objects that may be more specific than the top level error. |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應