Access token worked then started getting 400 errors

Initially I was able to get access token

{'name': 'username', 'password': 'password', 'appId': 'xxx', 'appVersion': '0.0.0', 'deviceId': 'xxx', 'cid': 'xxx', 'sec': 'xxx'}
get_endpoint []
get_endpoint – status code [400]
[Invalid JSON: expected '}' or ',', offset: 0x00000028]

Initially the code above worked but then I started getting 400 errors. Could this be a timeout issue or something else?

It seems like there was a problem with the way that I was formatting my json objects; both the headers and the data. I’ll be sure to keep an eye that going forward.

1 Like