10-27-2022 01:07 PM
Hoping someone can shed light on an issue I'm running into. I have a script that has a final step of making an API call to a hosted solution (Moveworks). The goal is to send a POST request to the Moveworks platform which, if properly done, will then send automated messages to our user base in our collab platform if they abandon their call into our help desk. However, the attached script always returns a 412 response. Reached out to Cisco TAC and asked whether the proxy configuration settings need to be defined on the CCX server System Parameters but they couldn't help, resting on the "Custom Scripts are not TAC supported" logic. If anyone could provide some insight into what I am missing or comment on whether this is even feasible I'd really appreciate it.
10-28-2022 01:34 AM
Hi,
I don't have any answer to your post.
But have you checked, why you get 412? It means something like "the server doesn't meet any preconditions, which the client (UCCX in your case) is sending in it's request headers.
Have you tried to send the post with a different client?
In general I guess, your question is better suited in the DevNet forum: https://community.cisco.com/t5/developer-collaboration/ct-p/j-developer-collab
10-28-2022 02:30 AM
It doesn’t like one of the HTTP headers CCX included or - more likely - didn’t. Get this working in Postman or an equivalent client and configure the Make REST Call step with the same headers. My guess is that it wants Content-Type and Accept headers to understand your POST body and how you expect the response to be formatted.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide