Skip to main content

Error Codes Reference

This section provides a reference for common error codes you might encounter when integrating with Mubarokah ID’s OAuth 2.0 and API endpoints. Understanding these errors can help you troubleshoot issues more effectively.

OAuth Error Codes

These errors are typically returned by the /oauth/authorize or /oauth/token endpoints. They follow the OAuth 2.0 specification for error responses, usually including an error code and an error_description. Example OAuth Error Response (JSON from /oauth/token):

API Error Codes (for /api/user, /api/user/details, etc.)

These errors are returned by Mubarokah ID’s resource API endpoints when an authenticated request fails. Example API Error Response (JSON):
The specific error string or message content in API error responses can vary. Always check the HTTP status code first, then inspect the JSON body for more details.