New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect API key causes Java error: IllegalStateException #17
Comments
Wrong API key? I still get this error after the latest couchpotato update with the right API Key. edit: Listing "wanted" and "manage" works fine, you'll get the error when you open movie details. |
Yah I knew this was going to happen. Basically, the couchpotato dev doesn't care about api compatibility and he broke it so now all the apps need to update. |
We do care about API consistency but trying to make everyone happy (by not keeping the API on par with the rest of the app) is also effectively holding back innovation. The changes made to the API is quite minor and is quite easy to patch up. |
Hi, I'm facing the same problem. |
Between a job, another programming side project, pool league, trying to be sociable, a lady, and who knows what else, I have had zero time to work on this or sickstashe. Not something I am really proud of, but I can't really help it right now. It is open source and I am semi proud that this app is fairly easy to understand and read. So if you want to update or fork it, I would be more then happy to help you with that. |
I had not updated CouchPotato Server in a while so only recently ran into this error. The problem seems indeed to be with changes made in the CouchPotato server API. I could not find documentation about what exactly are the changes made to the API, but because some variables in the JSON have changed from an object containing multiple variables to a single string, the GSON parser will raise an IllegalStateException while trying to interpret this string as an object. |
Setup Sickstache with no problem, tried CouchTatertot and this is the full error given:
ERROR: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 2 column 10. Turned out to be a mis-typed API key.
The text was updated successfully, but these errors were encountered: