Reaching out on behalf of client a professor in a University.
I have shared the steps to client in getting his APP KEY so he can access the Workspace API via Codebook.
Client followed the steps and got an API key. Then, he installed LSEG-data for Python and attempted a platform session using OAuth v1 Password Grant with my App Key, username and password. The session fails during token refresh with:
Malformed JSON received during token refresh: '400 Bad Request'
[Error 400] - {}
session.open() returned: OpenState.Closed
Can you please confirm the below:
1. That clients App Key is enabled for LSEG Data Library for Python / platform access,
2. The exact User ID or Machine ID I should use for OAuth v1 Password Grant,
3. Whether the password is the same as my Workspace web password or a separate platform/Machine ID password,
4. Whether my account has the required Data Platform entitlement?
5. Any advice or recommendation?