on 2021 Jul 01 8:04 PM
hello!!! I'm working on a prototype with Conversational AI and service cloud.
I want to create a ticket from CAI using the Odata API. I don't have problems when I do the GET to make a query into Service, but when I want to POST the Odata to create the ticket i have the below error.
I just generated the X-csrf token but still have the authorization problem.
any one have any Idea'???
Thanks!!
Request clarification before answering.
Hi,
While passing the CSRF token to the POST call, you have to also pass the session cookie as the request header for the POST call because CSRF token is valid against one session. Pls check the following thread which explains the fix in detail
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.