Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Unity Connection(CUC) Developer Center
Overview
Documentation
Community
CUC Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to CUTI Questions
500 Internal Server error
Threads [
Previous
|
Next
]
Will Ashley
Posts:
5
Join Date:
2/1/12
Recent Posts
500 Internal Server error
Answer
7/19/12 7:47 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I keep getting a 500 Internal Server error when trying to use CUTI. Any ideas on what is wrong?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Ting-Hao Chen
Posts:
7
Join Date:
5/17/12
Recent Posts
RE: 500 Internal Server error
Answer
7/19/12 7:59 PM as a reply to Will Ashley.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Will,
Were you able to collect the trace from your server?
Here
is the instruction on how to get the trace...
Howard
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Will Ashley
Posts:
5
Join Date:
2/1/12
Recent Posts
RE: 500 Internal Server error
Answer
7/20/12 7:11 PM as a reply to Ting-Hao Chen.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Ting-Hao Chen
Posts:
7
Join Date:
5/17/12
Recent Posts
RE: 500 Internal Server error
Answer
7/23/12 7:07 PM as a reply to Will Ashley.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Looks like a user setting problem?
Can you share more on what you are trying to do?
Which API call were you trying?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Will Ashley
Posts:
5
Join Date:
2/1/12
Recent Posts
RE: 500 Internal Server error
Answer
7/26/12 6:50 PM as a reply to Ting-Hao Chen.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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-\-
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Will Ashley
Posts:
5
Join Date:
2/1/12
Recent Posts
RE: 500 Internal Server error
Answer
7/31/12 4:47 PM as a reply to Will Ashley.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Ting-Hao Chen
Posts:
7
Join Date:
5/17/12
Recent Posts
RE: 500 Internal Server error
Answer
8/3/12 10:07 PM as a reply to Will Ashley.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Did you check the response header? It might just return the 200 OK, or 202 meaning "Accepted".
Howard
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Overview
Documentation
Community