Skip to main content
Solved

got 401 "Unauthorized" error when using Postman and also sometimes a bad request error


Forum|alt.badge.img+1

got 401 "Unauthorized" error when using Postman and also  sometimes a bad request error while I did everything  as they did in the course. please help it took a lot of time from me.

Best answer by Mithila Jayalath

Hi ​@Ali-Akram,

Change the environment variable baseURL → baseUrl and try again with a new token. I assume the value of the baseUrl is in the following format.

https://{{cluster}}.cognitedata.com/api/v1/projects/{{project}}

For more infomation, kindly refer to the documentation here.

View original
Did this topic help you find an answer to your question?

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

Hi ​@Ali-Akram,

Change the environment variable baseURL → baseUrl and try again with a new token. I assume the value of the baseUrl is in the following format.

https://{{cluster}}.cognitedata.com/api/v1/projects/{{project}}

For more infomation, kindly refer to the documentation here.


Forum|alt.badge.img+1
It just gave me a new error after replacing it.
 

 


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img

Looks like the first issue is resolved now. Untick all parameters that you can see there in the screenshot and check again.


Forum|alt.badge.img+1

thank you!


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings