Error Codes¶
This page documents all possible error responses from the LexgoSign API.
Error Response Format¶
All error responses follow a consistent format:
HTTP Status Codes¶
200 OK¶
Request succeeded. Resource returned in response body.
401 Unauthorized¶
Missing Authorization Header¶
Invalid API Key¶
Deactivated API Key¶
404 Not Found¶
Envelope Not Found¶
Recipient Not Found¶
405 Method Not Allowed¶
Invalid Envelope State¶
422 Unprocessable Entity¶
Validation Errors¶
429 Too Many Requests¶
Rate Limit Exceeded¶
Max Attempts Exceeded¶
500 Internal Server Error¶
Error Handling Best Practices¶
- Always check HTTP status code
- Log request_id for support tickets
- Implement exponential backoff for rate limits
- Show user-friendly error messages
- Monitor error rates