Skip to main content

forbidden

HTTP Status: 403 Forbidden

Example response

What happened?

Your API key does not have permission to access the requested resource. This typically occurs when:
  • Using the demo key on an endpoint other than GET /v1/validate or GET /v1/rates
  • The demo key is restricted to read-only validation and rate lookups

How to fix

  1. Use a full API key. Sign up at avatcado.com and generate a avat_live_ key to access all endpoints.
  2. Check the endpoint. The demo key only works with GET /v1/validate and GET /v1/rates.

Catching this error with the SDKs