The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Help Needed: ServiceNow to NetSuite Integration Using OAuth 2.0 – "User Not Authenticated" Issue

PriyeshS
Tera Contributor

Hi Community,

I'm currently trying to set up an integration between ServiceNow and NetSuite using OAuth 2.0. On the NetSuite side, I've been granted all the necessary roles and permissions. However, I'm running into a persistent issue.

Whenever I attempt to fetch data from NetSuite using OAuth 2.0, I receive the following error:

"User not authenticated"

To troubleshoot, I also tried using "No Authentication" as a method, but in that case, I get:

"You don’t have any role and permission granted"

Even though I'm using the Client Credentials flow, and passing both the JWT Bearer token and the Access token (generated via a Python script in the command prompt), the integration still fails with the same authentication error.

Here’s what I’ve already done:

  • Ensured proper roles and permissions are granted in NetSuite (Administrator, Full Access to relevant objects).

  • Referred to several official documents from both ServiceNow and NetSuite.

  • Searched extensively on Google and tried different troubleshooting suggestions – but no luck so far.

Has anyone here faced a similar issue or have any guidance on what I might be missing?

Any help or direction would be deeply appreciated!

Thanks in advance,
Priyesh

6 REPLIES 6

On the ServiceNow side, which grant type have you selected while creating the OAuth Entity Profile? Is it JWT bearer or Client Credential?

Hi @Randheer Singh, We don't have any official docs available into ServiceNow which can help us in setting up integration between ServiceNow and NetSuite. 

 

I am referring to the NetSuite documentation with client credential setup using oauth 2.0. 

This post doesn't allow me to post the exact url here. 

 

If you caould help me out in sorting the things would be appreciated. 

 

Any other helps would be appreciated

 

Regards
Priyesh S