Hi @Auth0_user,
First, I would recommend using one of our client libraries. If you are using node, you can use this module: GitHub - auth0/node-auth0: Node.js client library for the Auth0 platform.
Also, can you share the entire error? There should be some more details about what is failing.