Responses
Review the list of API responses and errors that can be returned when making an API call.
Success Codes
The following codes will be returned when your API request was successful.
Code | Description |
---|---|
| The request was successful, and the requested resources are included in the body. |
| A resource was successfully created. |
| Your request has been updated or is processing. |
| The request was successful but there was no content to be returned. Typically, this response is returned when requesting a list with specific filters that matched no records. |
Error Codes
The error codes below describe the reason your request failed.
Code | Description |
---|---|
| The server could not understand the request. This is usually caused by a malformed payload or invalid property names. |
| This error is caused by providing invalid authentication credentials or using an expired/invalid access or refresh token. |
| The token used does not have the proper permission to view the requested resource. Items with their visibility set to members only will return a 403 response if the customer does not have an active membership. This error should be reported back to the user. |
| The token used has reached the request rate limit. View Rate Limit details for information on the rate limit caps. |
| In the unlikely event that a 500 error response is returned, report this to the Peoplevine Support team for assistance. |
Error Details
Your failed API call response might contain additional information that will help you understand the reason your API call failed and how to fix the request.
Property | Type | Description |
---|---|---|
| string | A short error code i.e. "not_available". |
| string | A longer description with details of what caused the error. |
| object | An object that will contain data to give more details on multiple errors. Some endpoints that process multiple requests at once will validate all items before processing. In this instance, multiple errors can occur, and Error Details is where the details of all errors will be contained. |
| string | A URL that provides more details on the error to help you debug the error cause. |