"Invalid Session Token" When Tested

This forum contains topics that were moved from Get Satisfaction
Sarah6896843
Posts: 0
Joined: Tue May 27, 2014 5:10 pm

"Invalid Session Token" When Tested

Post by Sarah6896843 »

I have user registration but create, list, delete services are not working due to "invalid session token" when tested. Where can I find the session token to put in my services for "session token" parameter?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

"Invalid Session Token" When Tested

Post by Evgene Karachevtsev »

Hello Sarah,

At first you should test login_service and get session token from the response: http://devcenter.appery.io/wp-content...
Then test another services and use this value in corresponding request parameter.

Sarah6896843
Posts: 0
Joined: Tue May 27, 2014 5:10 pm

"Invalid Session Token" When Tested

Post by Sarah6896843 »

I tried this and took the session token from a user's login service and put it in the corresponding parameter but when I test the service it comes back with the error, "description":"Option 'Secure collection with session token' enabled but sessionToken is absent or invalid" Is there any "master sessionToken" that I can test the service with?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

"Invalid Session Token" When Tested

Post by Evgene Karachevtsev »

Sarah,

Please, provide screenshots with test results for login_service and service that requires sessionToken .

Nisa Khalid
Posts: 0
Joined: Tue May 05, 2015 1:36 pm

"Invalid Session Token" When Tested

Post by Nisa Khalid »

i have the same problem,this is my login test service Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

"Invalid Session Token" When Tested

Post by Yurii Orishchuk »

Hi Nisa,

Please follow this simple tutorial to understand how to work with registration/login processing and then delete functionality(with session token).

https://devcenter.appery.io/tutorials...

Regards.

Post Reply