Errors
Common error responses, what they mean, and how to handle them when integrating with the Mapademics Embedded API.
Error response format
{
"object": "error",
"error": {
"code": "ERROR_CODE",
"message": "Human-readable explanation",
"details": {
// Optional additional context
},
"documentationUrl": "https://docs.mapademics.com/errors/error-code"
}
}Field
Description
Authentication and authorization errors
401 Unauthorized
What it means
Typical causes
How to fix it
Example response
403 Forbidden
What it means
Typical causes
How to fix it
Example response
Client errors
400 Bad Request
What it means
Typical causes
How to fix it
Example response
404 Not Found
What it means
Typical causes
How to fix it
Example response
409 Conflict
What it means
Typical causes
How to fix it
Example response
Rate limits
429 Too Many Requests
What it means
Typical causes
How to fix it
Example response
Header
Description
Server errors
500 Internal Server Error
What it means
How to fix it
Example response
502 / 503 / 504
What it means
How to fix it
Best practices for handling errors
Retry patterns
UX patterns
Monitoring customer usage
Example handling logic
Getting help
Related documentation
Last updated
