Post

1 follower Follow
0
Avatar

REST API - 500 Internal Server Error on GetSessionInfo

Any idea why the Rest API returns 500 Internal Server Error on GetSessionInfo with the SessionID being passed as an USID cookie while other operations using the same SessionID has no problem?

Michael Trang Answered

Please sign in to leave a comment.

2 comments

0
Avatar

I did use the POST but I don't pass any parameters in my call except the Cookie, I'm using ColdFusion for this operation as below:

 

<cfhttp url="#serverLocation#/authentication/GetSessionInfo" method="post" result="sessionInfoResponse">

<cfhttpparam type="header" name="Cookie" value="USID=#stAuthentication.sessionId#"/>

</cfhttp>

stAuthentication.sessionId contains the valid sessionID for the cookie 'USID'. I got the errorCode of 'Internal' as per the attached screenshot.

 

 

Michael Trang 0 votes
Comment actions Permalink