Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

POSTMAN GET Method gives 401 unauthorized error

bhakti2
Active Participant
0 Kudos

hi,

I am using the same URL directly in browser, it pops up userid and password and I get the results.

I have given only two things in the POSTMAN - the url and basic auth.

I am getting 401 Unauthorised error.

  • SAP Managed Tags:
3 REPLIES 3

marcobuescher
Active Contributor

Hello,

what are you doing? Make you the Toutorials?

Regards

  • SAP Managed Tags:

bhakti2
Active Participant
0 Kudos

Hello,

I have created a simple ODATA service in my SAP backend.

This is a Ztable and I have writte GET and POST methods.

I want to call the GET method from POSTMAN.

This is working in IBM API Connect system.

The GET method was also working in POSTMAN but now I am getting the 401 Unauthorised error.

How do I troubleshoot this error ? should I change any settings, or how do I trace for firewall etc.?

thanks,

bhakti.

  • SAP Managed Tags:

0 Kudos

I am testing the oData service in POSTMAN, it is working fine to fetch Token and Cookies. If I left the POSTMAN idle for couple of hours, and try again without removing any cookies I see 401Unauthorized (Logon Error Message) error. The second iteration works fine. The integration team worried about if this happens in the Production environment how to handle it...

Any suggestions?

  • SAP Managed Tags: