Page 1 of 1

"Invalid Session Token" When Tested

Posted: Tue May 27, 2014 5:10 pm
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?


"Invalid Session Token" When Tested

Posted: Tue May 27, 2014 5:36 pm
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.


"Invalid Session Token" When Tested

Posted: Wed May 28, 2014 5:05 pm
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?


"Invalid Session Token" When Tested

Posted: Wed May 28, 2014 7:48 pm
by Evgene Karachevtsev

Sarah,

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


"Invalid Session Token" When Tested

Posted: Sun Jul 12, 2015 10:46 pm
by Nisa Khalid

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


"Invalid Session Token" When Tested

Posted: Thu Jul 16, 2015 2:15 am
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.