When running the SDK, you may encounter this error in your terminal:
Status Code: 401
Response: {"error":"User not found"}
This happens when the SDK_API_TOKEN in your .env file is either incorrect, or was copied from someone else's account. The SDK requires your own personal token to authenticate your account and access your bots.
How to Find Your SDK Access Token
Your SDK Access Token is unique to your account and can be found directly on the FrodoBots platform.
Log in to your account at https://rovers.frodobots.com/
Go to the Settings section
Look for the SDK Access Token field
Copy the token
π‘ Note: One SDK Access Token gives you access to all bots you own, you don't need a separate token per bot.
How to Fix
Open your
.envfileFind the
SDK_API_TOKENlineReplace the existing value with your own SDK Access Token
Save the file and restart the server
Your .env should look like this:
SDK_API_TOKEN=(your SDK Access Token)
BOT_SLUG="your-bot-id"
Still having issues?
If the error persists after updating your token, please open a support ticket on Discord or reach out to us at hello@frodobots.com and include your error logs from the terminal.
