i am getting an unauthorized issue while getting the access token from servicenow in eclipse java but it works fine in postman and the java code is works fine for the another servicenow credentials how to fix it can anyone help me on this
Asked
Active
Viewed 336 times
1 Answers
0
There is lack of sufficient details to exactly find the root cause of issue you are mentioning.
But for a easier solution, in postman , you can get the equivalent code by clicking on the code tab on upper right below the save button. You can compare the Java equivalent or any language that is comfortable for you and your code and check whether there is any difference , notably the headers

Akhil Job
- 419
- 6
- 18
-
i am using the postman code in my java application it is fine for the one credentials and not works for the another credentials – Prasanna Kumar Jun 04 '21 at 09:15