Salesforce ServiceNow spoke URI mismatch error

ntk72
Tera Contributor

I am trying to establish a connection between enterprise salesforce & ServiceNow instance where I did all the steps followed from documentation but ended up with URI mismatch error but verified URI at both Salesforce(connected apps) & ServiceNow(Authorization headers) it was same URI but ends up with the same error many time. Appreciate any help on this.

Attaching all the screenshots below, let me know if you need any additional details on it. 

 

Thanks in Advance!

4 REPLIES 4

Churchie
Tera Guru

We are experiencing the same.
If I get a solution i will post back

ntk72
Tera Contributor

After changing the following field value Grant type:- Authorization code to Resource owner password credentials at Application registry as well as connection & credentials page in salesforce spoke it is successfully generating Oauth token. 

Refer the screenshot:-

 

Thanks for the info. 
I will give this a try today and report back as well. I need to test that with the OAuth token able to generate the integration in its entirety is able to run successfully.

There were a couple things we did to get this to work.

1) @ntk72 was correct in that for the oauth entity profiles (oauth_entity_profile), they should be set to 'Resource Owner Password Credentials'
2) The Salesforce team created a new credential to be used for authentication. We did not simply use one of their user credentials when using the Get OAuth Token related link. The combination of those two things worked for us.

Give it a try.

Churchie_0-1713894977277.png