Error Handling
All APIs return standardized error responses in this format:
{ "status": 403, "error": "Forbidden", "message": "Your application is not authorized to access this API."}
Common Status Codes
Code | Meaning | Suggestion |
400 | Bad Request | Fix validation errors. Check required fields. |
401 | Unauthorized | Verify your API key or token. |
403 | Forbidden | You do not have access. Contact Medecision Support. |
404 | Not Found | Check the endpoint URL and resource ID. |
409 | Conflict | The resource already exists or conflicts. |
429 | Rate Limit | Slow down your request frequency. |
500 | Internal Error | Retry or open a support ticket. |
