CustomThrottlerGuard - Using API v2 with apiKey #22012
Replies: 1 comment
-
For API v2 authentication with an apiKey, make sure your environment includes at least these variables: Your API key should be sent in the Checklist:
If all of these are correct and you still get the error, double-check the prefix and that the key exists in the database. Rate limiting is enforced per key, so hitting limits can also trigger errors, but the message would usually indicate rate limiting rather than invalid key (source). Let me know if you need help checking any of these! To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I'm trying to use API v2 and I'm running into some issues. I've already reviewed my .env file and the documentation. The API v2 seems to be working, but I can't authenticate using the apiKey generated on the platform.
I'm wondering if there's a required environment variable that I'm missing. Does anyone know which variables are necessary for API v2 to work properly?
Also, do I need to do any specific configuration in the App environment?
If anyone could share a working example or a checklist of what must be set up, that would help a lot!
Thanks! 🙌
Request:
Response:
@PeerRich @dosu
Beta Was this translation helpful? Give feedback.
All reactions