UCCX Script using REST API - Client response status 412
Wondering if someone can assist here. I am trying to make REST API call using UCCX script to third party application.
I was successful in making API call to Test environment but when I tried to do the same with Prod, I am getting following exception. "java.io.IOException: Connection reset" "Client response status: 412"
UCCX > REST API > Third Party Application ( Test Environment) - Works
UCCX > REST API > Third Party Application ( Prod Environment) - Response 412
However if I do the same with either postman or chrome browser it works as expected.
So kind of lost here what could be the reason.
I have imported the certs in UCCX already so that's not an issue.
Checked the firewall side and that is also out of equation.
Hey thanks for the mention, but unfortunately, I don't have a great answer for you. Not only have I never encountered a 412 response, I think your testing shows that the problem is definitely with how the UCCX is communicating with the Prod API. There's not much in the way of HTTP request troubleshooting in UCCX, so I would turn the attend on the Prod API and see what the logs there can tell you. E.g., I would think that UCCX sends the exact same request to Test and to Prod, therefore, the Prod API might reveal an extra error pointing a configuration requirement in Prod which does not exist in Test. Speaking of which, I would place my bet on the actual problem being in Prod API configuration, and not in UCCX scripting; although, at this moment it could literally be anywhere, and how you choose to solve it is up in the air as well. E.g., If the API requires a header, you could add that header in UCCX or you could drop the requirement for the header in the API itself. Good luck. Do post your solution once you find it.
In Snack Minute 57 returning guest, Cisco Developer Advocate Quinn Snyder demonstrates how Consul-Terraform-Sync enables application developers to leverage the tools they are already using to automatically provision infrastructure.
DevNet Certifications provide you with the skills you need to make the most of new advancements in technology.
Earn any DevNet Certification before February 24 to become part of the DevNet class of 2020. You'll get access to special tools and resources a...
Join us live on Thursday, August 6 at 10 am PT (and on demand after) for a deep-dive look into Cisco DevNet certifications.
It's a thrilling time for DevNet. Between the new certifications and the growing community, join us to learn how to make histo...