Page 1 of 1

Invalid User

Posted: Mon Aug 27, 2018 4:16 pm
by mstone121

I recently purchased a a Schedules Direct account after my trial account expired. When I had the trial account I was able to get a token from the server, but now I get and INVALID_USER response.

Code: Select all

{"response":"INVALID_USER","code":4003,"serverID":"20141201.web.X","message":"Invalid username or token has expired.","datetime":"2018-08-26T15:44:37Z"}
I'm wondering if this has something to do with the fact that I let my trial account expire. Or maybe my purchased account hasn't been activated yet? I purchased it yesterday.

I've searched the forum and it seems like people have had similar issues but only after getting a token. I'm receiving this error on the /token route.


Re: Invalid User

Posted: Tue Aug 28, 2018 8:22 am
by rmeden
I'm not an expert in the JSON service, but did you request a new token? They don't last forever... I think they're designed to use for one session.

Re: Invalid User

Posted: Wed Aug 29, 2018 8:47 am
by mstone121
I'm actually getting this error when requesting a token.

Re: Invalid User

Posted: Wed Aug 29, 2018 8:06 pm
by mstone121
Figured it out.

I was using my email address rather than my username.

Perhaps the API documentation should be updated to indicate this. Might save other people from the same frustration. ... in-a-token

I'll submit a PR.