For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error Handling

Learn how to handle errors and edge cases in the Duro API.

Error Types

The API returns different types of errors:

  • Validation errors

  • Authentication errors

  • Authorization errors

  • Rate limiting errors

  • Server errors

Error Format

{
  "errors": [
    {
      "message": "Not authorized to access Component",
      "path": ["component"],
      "extensions": {
        "code": "FORBIDDEN",
        "classification": "AuthorizationError"
      }
    }
  ]
}

Common Error Scenarios

Best Practices

  • Implement proper error handling

  • Add retry logic for rate limits

  • Log errors for debugging

  • Handle network timeouts

  • Provide user-friendly error messages

Error Recovery

Next Steps

Join our Developer Community for support and discussions.

Last updated

Was this helpful?