CUC Forums

« Back to CUTI Questions

500 Internal Server error

Combination View Flat View Tree View
Threads [ Previous | Next ]
I keep getting a 500 Internal Server error when trying to use CUTI.  Any ideas on what is wrong?
 
 

Will,
Were you able to collect the trace from your server?
Here is the instruction on how to get the trace...

Howard

Will,
Were you able to collect the trace from your server?
Here is the instruction on how to get the trace...

Howard

 
14:02:51.490 |1222,,,VMREST,0,ERROR [http-8443-1] com.cisco.connection.rest.SecurityFilter  - user principal not found
 
 
 

Looks like a user setting problem?
Can you share more on what you are trying to do?
Which API call were you trying?

Ok, I fixed the 500 error,

What we are trying to do it record a message on the phone and send it to another user. I can record the message, but having trouble with the send part. I get request was canceled message. when I try to send it.

I am using .NET to try and recreate this: (From your Wiki on how to send a message) But without code examples etc.. you guys make it really hard to figure this stuff out.

POST /vmrest/messages?userobjectid=84c14db9-7439-4326-a2e2-e516aa192dff HTTP/1.1
Content-Type: multipart/form-data;boundary=Boundary_1_16617866_1263568442453
Accept: application/json
User-Agent: Java/1.6.0_17
Host: cuc-install-67.cisco.com
Connection: keep-alive
Authorization: Basic Y2NtYWRtaW5pc3RyYXRvcjplY3NidWxhYg==
Content-Length: 731

\--Boundary_1_16617866_1263568442453
Content-Type: application/json
{"Subject":"send message test","ArrivalTime":"0","FromSub":"false"}
\--Boundary_1_16617866_1263568442453
Content-Type: application/json

{"Recipient":{"Type":"TO","Address":
{"UserGuid":"84c14db9-7439-4326-a2e2-e516aa192dff","DisplayName":"Operator"}
}}
\--Boundary_1_16617866_1263568442453
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CallControl><op>PLAY</op><resourceType>STREAM</resourceType><resourceId>cf1cb014-6394-4279-
ab5a-74a6d680e440.wav</resourceId><lastResult>0</lastResult><speed>100</speed><volume>100</volume><startPosition>0</startPosition></CallControl>

\--Boundary_1_16617866_1263568442453-\-

Ok, I have it "sending" a message, and it says it did it, but I never see the message in the user's VM. Where does the message go?

Is it supposed to show up in the VM box, or does "Send" mean something different.

Did you check the response header? It might just return the 200 OK, or 202 meaning "Accepted".

Howard