To help identify any errors that you might encounter, and find their fixes, our errors Customer Feed API returns standard HTTP status codes:
- 200 OK: Successful GET, PUT, or DELETE request.
- 201 Created: Resource creation succeeded.
- 400 Bad Request: Request is malformed or missing parameters.
- 401 Unauthorized: Authentication failed or API key is missing.
- 404 Not Found: Requested resource does not exist.
- 500 Internal Server Error: An error occurred on the server.
The architecture of our error codes looks like the following:
[insert our field parameters]
{
"type": "https://help.silentpush.com/v1/docs/en/228863e3-c6d0-4eb9-8611-a327ac670949?isPreview=true&isCategory=true&versionNumber=1",
"title": "Api error",
"status": 500,
"detail": "We are unable to process your request at this time"
"errors": [
{
"message": "Service offline"
}
]
}
Error responses include a JSON object with an error message and additional details.