Orders v2 errors
Errors are listed by endpoint and then by error name.
Get order
Error | Description | Issue |
---|---|---|
INTERNAL_SERVER_ERROR |
An internal server error occurred. A system or application error occurred. | |
NOT_AUTHORIZED |
Authorization failed due to insufficient permissions. |
|
RESOURCE_NOT_FOUND |
The specified resource does not exist. |
|
AUTHENTICATION_FAILURE |
Authentication failed due to missing authorization header or invalid authentication credentials. |
|
Create order
Error | Description | Issue |
---|---|---|
INTERNAL_SERVER_ERROR |
An internal server error occurred. A system or application error occurred. | |
AUTHENTICATION_FAILURE |
Authentication failed due to missing authorization header, or invalid authentication credentials. | INVALID_ACCOUNT_STATUS : Account validations failed for the user. |
INVALID_REQUEST |
The request is not well-formed, is syntactically incorrect, or violates schema. For more information, see Validation errors. |
|
NOT_AUTHORIZED |
Authorization failed due to insufficient permissions. |
|
UNPROCESSABLE_ENTITY |
The requested action could not be completed, was semantically incorrect, or failed business validation. |
|
Patch order
Error | Description | Issue |
---|---|---|
INTERNAL_SERVER_ERROR |
An internal server error occurred. | |
AUTHENTICATION_FAILURE |
Authentication failed due to missing authorization header or invalid authentication credentials. | INVALID_ACCOUNT_STATUS : Account validations failed for the user. |
INVALID_REQUEST |
Request is not well formed, is syntactically incorrect, or violates schema. |
|
NOT_AUTHORIZED |
Authorization failed due to insufficient permissions. |
|
RESOURCE_NOT_FOUND | The specified resource does not exist. | INVALID_RESOURCE_ID : Specified resource ID does not exist. Please check the resource ID and try again. |
UNPROCESSABLE_ENTITY |
The requested action could not be performed, is semantically incorrect, or failed business validation. |
|
Save order
Error | Description | Issue |
---|---|---|
UNPROCESSABLE_ENTITY |
The requested action could not be performed, semantically incorrect, or failed business validation. | ORDER_CANNOT_BE_SAVED: The option to save an order is only available if the `intent` is AUTHORIZE and `processing_instruction` uses one of the `ORDER_SAVED` options. For example, `intent`=AUTHORIZE, `processing_instruction`=ORDER_SAVED_EXPLICITLY. Please change the intent and/or processing_instruction` and try again. SAVE_ORDER_NOT_SUPPORTED: The API caller account is setup in a way that does not allow it to be used for saving the order. This functionality is not available for PayPal Commerce Platform for Platforms & Marketplaces. |
Authorize order
Error | Description | Issue |
---|---|---|
INTERNAL_SERVER_ERROR |
An internal server error occurred. A system or application error occurred. | |
AUTHENTICATION_FAILURE |
Authentication failed due to missing authorization header or invalid authentication credentials. | INVALID_ACCOUNT_STATUS : Account validations failed for the user.
|
INVALID_REQUEST |
"Request is not well formed, is syntactically incorrect, or violates schema. |
|
NOT_AUTHORIZED |
Authorization failed due to insufficient permissions. |
|
RESOURCE_NOT_FOUND | The specified resource does not exist. | INVALID_RESOURCE_ID : Specified resource ID does not exist. Check the resource ID and try again. |
UNPROCESSABLE_ENTITY |
"The requested action could not be performed, is semantically incorrect, or failed business validation. |
|
Capture order
Error | Description | Issue |
---|---|---|
INTERNAL_SERVER_ERROR |
An internal server error occurred. A system or application error occurred. | |
AUTHENTICATION_FAILURE |
Authentication failed due to missing authorization header or invalid authentication credentials. | INVALID_ACCOUNT_STATUS : Account validations failed for the user. |
INVALID_REQUEST |
Request is not well formed, is syntactically incorrect, or violates schema. |
|
NOT_AUTHORIZED |
Authorization failed due to insufficient permissions. |
|
RESOURCE_NOT_FOUND | The specified resource does not exist. | INVALID_RESOURCE_ID : Specified resource ID does not exist. Check the resource ID and try again. |
UNPROCESSABLE_ENTITY |
The requested action could not be performed, is semantically incorrect, or failed business validation. |
|