‎08-09-2022 03:30 PM - last edited on ‎04-01-2024 03:04 PM by Mercedes_O
I am trying to follow the instructions for setting up an API bearer token but every time Hit authorize I get this error: "result=failure&message=Could+not+make+access+token+requests.The+feature+has+been+deprecated,please+download+the+latest+Postman+app"
I am following the steps here: How to Authenticate with our API | Documentation – Lansweeper
I have tried the URL's: https://www.postman.com/oauth2/callback and all the others that are suggested and keep getting the above error.
Any suggestions on how to get the dang token?
‎08-18-2022 03:37 PM
‎08-10-2022 01:35 PM
Hi @Cobra7 !
The cloud applications needs an accessible URL to provide the authorization code in order to get the bearer token.
If it is a single test, you can put any invented URL and get the code although the redirect result in a failure in the browser, but you will find in the URL the code, like:
http://new.url.not.exists.com/?code=f2f25f7c8be5d9f5
In a real environment the allowed callback URL should be public and should be managed by your application, to get the code and perform the authorization, the flow is described in https://docs.lansweeper.com/docs/api/authenticate, in authorization-and-authentication-sequence section.
‎08-09-2022 09:47 PM
I'll take a look but I also got the same error when I put in an Insomnia callback URL: https://insomnia.rest
I'll try the other token option and see if I can get that to work.
‎08-09-2022 03:40 PM
Hi I am afraid that this issue is related to Postman rather then API (https://github.com/postmanlabs/postman-app-support/issues/9390)
Can you elaborate a bit more on usecase that you are trying to solve. Personal token might be a solution for you as one option .
Otherwise you just follow https://docs.lansweeper.com/docs/api/authenticate#obtaining-necessary-tokens
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now