5
votes

enter image description here

While calling a REST API for Azure DevOps I am getting an error 203 Non-Authoritative Information. Actually I want to trigger a release pipeline line with the help of REST API.

2
Just wanted to check before the weekend what the status on this issue was? Is it succeed for you to use postman by follow the below steps? Appreciate for marking it as an answer which will also help others in the community.Merlin Liang - MSFT

2 Answers

8
votes

The 203 error code normally caused by an incorrect PAT format. Looks like you are probably failing authentication because the PAT did not be encoded with base64 correctly.

Ensure the TYPE is Basic Auth, and input the correct PAT format into Password:

enter image description here

Authorization of Postman.

0
votes
Yes, we are passing the PAT wrongly.

Just another way of doing it, COPY the PAT encode that to base64 manually from a site like - https://www.base64encode.org/

Note - make sure you add ":" as a prefix on PAT and then encode that.

Copy the encoded value to header on Authorization as mentioned -

enter image description here

Hope this will help a few, the only catch was to make sure we add the ":" on the mentioned position.