Unable to create app using MendixPlatformClient with PTA gives 401 error code

0
Created app as show in https://docs.mendix.com/apidocs-mxsdk/mxsdk/creating-your-first-script/ But while running it give bellow 401 error.     any idea why this was causing?   Thank you in Advance.
asked
1 answers
0

The error clearly says its 401 Unauthroized and Invalid Token. Can you show what all request body, request header data you are sending while making this call?

 

Once you have your PAT(personal access token) as per this documentation, then pass that in the authorization header as mxtoken <your personal access token>

answered