#[โ Solved] API Key
1 messages ยท Page 1 of 1 (latest)
Thanks for providing the screenshot! The error message invalid API key means JanitorAI is not accepting your API key. Hereโs how to troubleshoot:
1. Check API Key Validity
- Make sure youโre using the most recent API key you got from our Discord Bot Channel using
/key. - DO NOT include any extra spaces or characters before or after the key when pasting.
2. Proper JanitorAI Setup
Double-check your API settings in JanitorAI:
-
Go to API Settings > Proxy tab.
-
Set API to OpenAI and model to gpt-3.5-turbo.
-
Use this endpoint under โAPI/proxy URLโ:
https://api.pawan.krd/cosmosrp/v1/chat/completions(Donโt add emojis, backticks, or extra spaces.)
-
Paste your latest API key.
3. Refresh JanitorAI
After saving your API settings, refresh the JanitorAI page before you try chatting. This step is required or youโll get invalid API key errors.
4. Credits Issue
If you run out of credits or havenโt done /claim yet today, use the command in the Bot Channel:
/claimโ to get your daily free credits.
5. Other Issues
- Do not try to get multiple keys or use more than one key from the same IP, or it will be invalidated. If you did, youโll need to create a support ticket describing the issue.
Still stuck?
If you have followed all above and still see the error, create a ticket in our Support Ticket Channel and provide full details.
Let us know if you solve it, and check Setup Guide Channel for visuals!
Please note: This is an automated response from @worthy lotus. While it strive to provide accurate assistance, It may occasionally make mistakes. If you find any inaccuracies or need further clarification, feel free to wait for our community helpers to give you further guidance. Thank you.
[โ Solved] API Key