Getting a 400 error when trying to authenticate. #54
Unanswered
kapilkaisare
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hey @kapilkaisare , I believe that your issue might be caused by you trying to acquire a non-existing scope. TIDAL Developer does not yet allow access to user data such as playlists (we are working hard to enable it though), and some of the scopes you requested does not exist. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working with the Developer API, trying to connect it to ChatGPT, and am unable to authenticate with the service. I have the following values:
When ChatGPT invokes authentication, I see the following call
https://login.tidal.com/authorize?response_type=code&client_id=<client-id>&redirect_uri=https%3A%2F%2Fchat.openai.com%2Faip%2Fa-really-long-string%2Foauth%2Fcallback&state=b890b4a4-b804-439d-88fa-b942b10b706d&scope=collection.read%2C+collection.write%2C+playlist.read%2C+playlist.write
clear with a 302 (found). This call is followed by another to:
https://login.tidal.com/authorize?client_id=<client-id>&redirect_uri=https%3A%2F%2Fchat.openai.com%2Faip%2Fa-really-long-string%2Foauth%2Fcallback&response_type=code&scope=collection.read%2C%20collection.write%2C%20playlist.read%2C%20playlist.write&state=another-really-long-string&geo=US&campaignId=default
which clears with a 200. I am eventually redirected to
https://login.tidal.com/api/refreshlogin?client_id=<client-id>&redirect_uri=https%3A%2F%2Fchat.openai.com%2Faip%2Fa-really-long-string%2Foauth%2Fcallback&response_type=code&scope=collection.read,%20collection.write,%20playlist.read,%20playlist.write&state=another-reaaly-long-string&geo=US&campaignId=default
which renders the following screen.
I'm already logged in, and when I click 'Yes, continue', the page gets rerendered with the same error. code 400. The response is :
If I try to switch users, and try to sign in with the same account, I see a similar error, and I observe that a call to the url
https://login.tidal.com/api/email/user/existing?client_id=cYFAriCVGb79jLNZ&default_config=true&id=12036&name=Open%20API%20%28devId%3A%20127a0e58-d495-45f5-a566-7f4b9237ff6a,%20appCreated%3A%201712967925568%29&redirect_uri=https%3A%2F%2Fchat.openai.com%2Faip%2Fg-08e2ec3cfac9861e05997f9e78c46eed4b80eb34%2Foauth%2Fcallback&response_type=code&scope=collection.read,%20collection.write,%20playlist.read,%20playlist.write&state=b890b4a4-b804-439d-88fa-b942b10b706d&geo=US&campaignId=default
has failed with the same 400 code and the following response:
Does anyone else see what I might be doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions