TidalAPI icon indicating copy to clipboard operation
TidalAPI copied to clipboard

'Ooops, an unexpected error occurred'

Open bayrock opened this issue 9 years ago • 10 comments

\node_modules\tidalapi\lib\client.js:106
        throw new Error(data)
        ^
Error: {"status":500,"subStatus":999,"userMessage":"Ooops, an unexpected error occurred. We'll try to fix this asap!"}

What causes this issue, and is there anything I can do about it? Thanks.

bayrock avatar Sep 13 '16 16:09 bayrock

Having this problem too...

jonaaa20 avatar Oct 11 '16 23:10 jonaaa20

Update the TIDAL token.

0xVasconcelos avatar Mar 27 '17 23:03 0xVasconcelos

me too

okonek avatar Sep 03 '17 13:09 okonek

Download an android emulator and get the token with that

On Sep 3, 2017 9:47 AM, "Jan Okoński" [email protected] wrote:

me too

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lucaslg26/TidalAPI/issues/22#issuecomment-326806040, or mute the thread https://github.com/notifications/unsubscribe-auth/AEHGPDl8AewlB-2OhJ2z0lUdAuL4uE9Eks5seq3bgaJpZM4J75VC .

jbschooley avatar Sep 03 '17 14:09 jbschooley

How to get token with emulator?

okonek avatar Sep 03 '17 18:09 okonek

Enable external access in fiddler then use Drony to force all traffic on the emulator through fiddler

On Sep 3, 2017 2:35 PM, "Jan Okoński" [email protected] wrote:

How to get token with emulator?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucaslg26/TidalAPI/issues/22#issuecomment-326822762, or mute the thread https://github.com/notifications/unsubscribe-auth/AEHGPL8L6Dki7qkLj0c2HUW6NrhSig1Yks5sevFYgaJpZM4J75VC .

jbschooley avatar Sep 03 '17 18:09 jbschooley

Ok I actually copied it from Pythons tidal api and it works.

okonek avatar Sep 03 '17 18:09 okonek

@bayrock @jonaaa20 @lucaslg26 @okonek @jbschooley

I found a solution, I assume you guys are using the Android token "kgsOOmYk3zShYrNP", I had the same problem, but I tried to change some stuff.

Apparently, for the android token, you need to set "clientUniqueKey" in the form, when you log in. The funny thing is, it just needs to exist, so you could add a random string to it and it will work :D image

Kladdkaka avatar Oct 23 '17 11:10 Kladdkaka

The README now has instructions on getting a token

https://github.com/lucaslg26/TidalAPI#obtain-the-tidal-token-needed-to-use-this-api

mikemaccana avatar Oct 23 '17 12:10 mikemaccana

@mikemaccana the problem is not that, the problem is that the package does not work out of box with the android token "kgsOOmYk3zShYrNP", that is extracted from the APK. :)

Kladdkaka avatar Oct 23 '17 13:10 Kladdkaka