openapi icon indicating copy to clipboard operation
openapi copied to clipboard

Token Invalid

Open iR3turnZ opened this issue 4 years ago • 3 comments

`(async () => { await api.getToken(); const uid = await api.putUser({ countryCode: '**', username: '@gmail.com', password: '', usernameType: 2});

--->const token = await api.getDeviceToken({uid, timezone: 'Austria/Vienna'}); Token invalid right here console.log(await api.getDevicesByToken(token)); })();`

Im always getting a Invalid Token error msg but i cant figure out why. Can anyone help?

iR3turnZ avatar Jun 15 '21 10:06 iR3turnZ

Is the timezone in the same country as your user?

codetheweb avatar Jun 18 '21 15:06 codetheweb

Actually, the Timezone is Europe/Vienna but with that it still doesn't work I checked it in the App

iR3turnZ avatar Jun 18 '21 15:06 iR3turnZ

Could you post the full output from when it fails please?

codetheweb avatar Jun 21 '21 23:06 codetheweb