Javascript client SDK "Error getting session" POST http://www.luton.co/rest/user/session 400 (Bad Request)


#1

Hi
we got a client app using javascript api, which seems to be working fine for sometime
v1.7

then we are unable to get session using javascript SDK , even though
we can login to the admin panel
so i even upgraded to v 1.8.2 but still it doesn’t help
we are using the swagger and shred version of client sdk in javascript

also one more thing
Database Version: 1.7.0

DreamFactory Services Platform Version: 1.8.2

i did try the weburl/web/logout but it didn’t seem to work anything about upgrading database
thanks


#2

Hi @ikyaqoob, could you please post the full Request and Response so I can better understand what’s failing and how? Thanks!


#3

Hi jeff

the system becomes stable after update ,
there seems to be some issue in the credentials , we are using percona mysql
what happens was that some client users credentials we have to re enter and save them in the user account ,

it seems it takes some time for the update to take effect in terms of plesk
thanks


#4

So you are updating the credentials in Plesk rather than in the DSP? Is Plesk caching DSP calls and responses?


#5

hi jeff

in DSP actually what happens the user accounts password seems to be not saved somehow randomly

so we have to reenter the password then it grants session.


#6

Is this at user login (authentication to an app) or while setting/resetting a user’s password via the Admin Console?


#7

jeff it is at the admin console