February 12, 2023, 3:19pm
I have no issues with the testing token that I can manually issue via the dashboard however in trying to move to production (currently testing in Postman) I am getting a 400 Bad Request error.
I am following all of the instructions here:
Get Management API Access Tokens for Production
Below is a screenshot from Postman. Where am I going wrong?
Welcome to the Community!
Would you be able to run an example curl request?
In your dashboard, go to APIs > Auth0 Management API > Test Tab > and select the application you want to test in the dropdown.
Any other error message besides a 400 Bad Request?
February 13, 2023, 2:16pm
@wayne.lim . Thanks for responding here. I actually don’t get any errors through that Test. I get an access token without any issues. See below. Ultimately I am going to be calling this API from my backend (Xano) however I am just testing things in Postman. Is it perhaps how I have it structured in Postman?
Thanks for checking and good to know that it works from the dashboard. At least now we can rule out the error was from Auth0.
It might be a misconfiguration in your Postman. Would you be able to try and request with this configuration? Selecting ‘Raw’ and then ‘JSON’ and input your body like so.
February 14, 2023, 11:14am
Yes, there was definitely something off with my Postman setup. Once I copied/pasted the CURL example as you’ve shown here it worked just fine. Thanks for your help.
No worries! We’re here for you!
March 8, 2023, 12:25pm
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.