troubleshooting

This commit is contained in:
Corban-Lee Jones 2024-08-11 23:26:39 +01:00
parent a276aa3ccb
commit d78bc2702f

View File

@ -83,3 +83,13 @@ Use environment variables to specify a database, otherwise an sqlite database fi
### Admin Account
Create an environment variable `SUPERUSER_IDS` and add comma separated Discord snowflake User IDs. When logged-in, these users will be able to access the admin panel.
## Troubleshooring
### Bad Request (400)
Ensure your `HOST` environemtn variable matches the endpoint that you are accessing the web application from.
### Server Error (500) - keyerror 'access_token'
Ensure your environment variables for `DISCORD_OAUTH2_URL` and `DISCORD_REDIRECT_URL` are correct, using the correct endpoint for your application, otherwise discord will not return a response including an access token when requested.