troubleshooting
This commit is contained in:
parent
a276aa3ccb
commit
d78bc2702f
10
README.md
10
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user