Error codes
bad_request
400
bad_request
400
- Problem: The request is malformed. For example, the body is not valid JSON or a required header is missing.
- Solution: Check that the request is properly formatted.
401
401
forbidden
403
forbidden
403
- Problem: The credentials are valid, but they don’t have permission to perform this action.
- Solution: Check the API key’s scopes and your role in the workspace.
exceeded_limit
403
exceeded_limit
403
- Problem: The request exceeds a limit of your workspace’s plan.
- Solution: Upgrade your plan or wait for the usage limit to reset.
not_found
404
not_found
404
- Problem: The requested resource does not exist, or it doesn’t belong to your workspace.
- Solution: Check the ID in the request and make sure the resource exists.
conflict
409
conflict
409
- Problem: Another resource already uses the same unique value. For example, a link with the same domain and key already exists.
- Solution: Use a unique value.
invite_pending
409
invite_pending
409
- Problem: An invitation for this email address is already pending.
- Solution: Resend or revoke the existing invitation.
invite_expired
410
invite_expired
410
- Problem: The invitation has expired.
- Solution: Send a new invitation.
unprocessable_entity
422
unprocessable_entity
422
- Problem: The request failed validation. For example, a field has the wrong type or a value is out of range.
- Solution: Read the error message, which names the invalid field, and fix that value.
rate_limit_exceeded
429
rate_limit_exceeded
429
- Problem: You have sent too many requests in a given amount of time.
- Solution: Wait for the number of seconds in the
Retry-Afterheader, then try again. See Rate limits.
internal_server_error
500
internal_server_error
500
- Problem: Something went wrong on Dub’s side.
- Solution: Try again later. If the problem persists, contact support.
503
503