cancel
Showing results for 
Search instead for 
Did you mean: 

SAP OData unauthorized status code 401

07-19-2018 2:48 AM
Srinivas-Rao Contributor
929 views 4 comments
0 Likes
SAP Managed Tags
Subscribe

Hi All,

I built a GET service and we have some authorization checks. If the authorization fails, the requirement is to send 401 HTTP status code. I raised technical exception and explicitly passed 401 as status code but still in the gateway system, while testing, I get status code as 500. Is it not possible to send 401 and if not, then what is the rationale behind it ?


Thanks & Regards

Srini

0 Likes

Accepted Solutions (0)

Answers (0)