jon.nolan | 2024-10-04 16:50:31 UTC | #1
I am following the document (https://help.mypurecloud.com/articles/how-to-use-the-user-defined-oauth-credential-type/)" to create a data action, which is trying to send a request to serviceNow with oAuth. When following the GC how to, I get it set up and saved, but fails out.
 |
 |
tim.smith | 2024-10-04 16:54:38 UTC | #2
It appears you've set the content type to application/json but are instead sending form data in the body.
jon.nolan | 2024-10-04 16:56:55 UTC | #3
Hey Tim. Sorry, I initially had it as Content-Type": "application/x-www-form-urlencoded". We switched because we had iniitally gotten a content-type error.
jon.nolan | 2024-10-10 16:02:31 UTC | #4
Still looking for a solution to this. Anything we can try?
Adrien_Boutet | 2024-10-15 15:27:38 UTC | #5
Hi Jon,
Try with granttype : password instead of clientcredential
Here is my config - instance no longer active, don't worry for clear password :slight_smile:
 |
 |
 |
 |
Adrien
jon.nolan | 2024-10-15 15:28:24 UTC | #6
Thank you. Will give that a try now!!
RobertWit | 2024-10-24 13:42:41 UTC | #7
This was winning information. Thank you for the response! Works great!
system | 2024-11-24 13:42:23 UTC | #8
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 29707