codea.live
Search…
Error Help
Solutions to common 1PG errors.

{ "message":"You Shall Not Pass" }

The Server Members Intent needs to be enabled for 1PG to perform many functions including: guild member events, and more. It is also used for the music player. This can be enabled in the Discord Developer Portal.
1PG Privilaged Intents

SyntaxError: Unexpected token =

1
on = '';
2
^
3
SyntaxError: Unexpected token =
Copied!
Solution: NodeJS v14 is required for this syntax

TypeError: Cannot read property 'access_token' of undefined

1
let token = access['access_token'],
2
^
3
TypeError: Cannot read property 'access_token' of undefined
Copied!
Solution: Use twopg/oauth instead of disco-oauth.
Last modified 9mo ago