cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
568
Views
0
Helpful
0
Replies

HTTP 500 Error when caching URL document

paul johnson
Level 1
Level 1

 

I am trying to build a couple of scripts that would copy user changes in a call script from one IP IVR (A) to the second IP IVR (B).     

 

So if the caller changes a prompt or an XML document on one IPIVR, I am wanting that to also get updated on the second IPIVR.

 

In the following scripts, I'm trying to test out the sequence of events.   Call script creates an HTTP trigger, which calls a http script that gets some data and uploads it and then returns back to the call script.

 

Here I create an application with an HTTP trigger "test" and the script HTTPGetContactInfo.aef.   

 

http_trigger.JPG

 

The HTTPGetContactInfo.aef script makes a call to HTTPGetContactInfo, retrieves the Server name (which is the server it executes on).  Then put it in an XML document and upload it.      This part works just fine.

HTTP Contact Script.JPG

  So I create a voice script, to test out invoking the http trigger.    Then I retrieve the XML file I created in the http script to verify it get updated.   It does

 

I can create the http URL for the http trigger script without any issue.   But when I try to use the Cache Document step I get an exception (HTTP 500 error) and the 'system error' announcement

 

http500.JPG

 Since this is suppose to be a backend process I really don't have a web page for it to respond back to.   If I can receive the response (regardless of the value) so I can trap it out, that would be fine.   I just want to be able to get the URL to execute and the Cache Document was the only way I could find to do this.    

 

Call script.JPG

0 Replies 0