diff --git a/README.md b/README.md index 850cabe..0a1b69f 100644 --- a/README.md +++ b/README.md @@ -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.