Troubleshoot problems with this comprehensive breakdown of all error codes.
Dub API returns machine readable error codes, human readable error messages and a link to the docs for more information.Here is how an error response looks like:
Copy
Ask AI
{ "error": { "code": "not_found", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#not-found" }}