ServiceNow Integration with HP Order Status (OSS) API

Hitesh_Mourya
Tera Guru

Hello Everyone,
we are currently experiencing difficulties with authenticating our ServiceNow token before invoking the HP Order Status API. We are using the OAuth2 client credentials flow with the API key, secret ID, and client ID. Despite creating the application registry and profile, our authentication attempts are failing with an error message. Has anyone encountered a similar issue or has insights on troubleshooting this authentication problem? Your assistance and expertise would be greatly appreciated!

Link to the HP OrderStatus (OSS) API: HP OrderStatus (OSS) API

8 REPLIES 8

Community Alums
Not applicable

Hi @Hitesh_Mourya 

 

What error code and message you are getting, Can you please share?

 

Regards,

Krishna

Hi @Community Alums ,
Getting Invalid null response when clicking to get Auth2.O token from Rest Message related link while we have given all the necessary details but still facing this issue.
Please assist here..
Regards,
Hitesh Mourya

Community Alums
Not applicable

Hi @Hitesh_Mourya 

 

Okay got it, but what is the error code you are getting?

Please share the screenshot as well.

 

Regards,
Krishna 

Rajesh Chopade1
Mega Sage

hi @Hitesh_Mourya 

If you having the authentication issue then check following points once if that not works then provide the error message so community can help you accordingly.

 

- Verify that the client ID, secret ID, and API key are correctly set up.

-Ensure the token endpoint URL and scopes are accurate and match the API requirements.

-Confirm the profile is properly linked to your OAuth credentials.

-Check error logs for details about the failure (e.g., invalid credentials, wrong scope).

 

Testing with tools like Postman can help isolate the issue.

 

i hope my answer helps you to resolve your issue, if yes please mark my answer helpful and correct.

thank you

rajesh