Page 2 of 3

Re: API key is invalid or disabled.

Posted: Sun Jul 26, 2015 2:59 am
by mkanet
EDIT: This still doesn't work. Still getting 401 Unauthorized. The only way I can make it work is using an old known API that's always worked. I even paid for lifetime VIP membership. That didn't help my personal API key any.

Re: API key is invalid or disabled.

Posted: Sun Jul 26, 2015 4:50 pm
by Kode
As I replied in PM, but am putting here in case anyone else comes across this:

You seem to have a fundamental misunderstanding of how the system works.

I've just spent about an hour troubleshooting this, only to find you seem to be using personal API keys instead of project api keys?

The personal API key allows you to bring back more recent results, but it is not used as a replacement for the project API key, it is a system so people can create apps that use our feed and then encourage their users to create personal API keys to get quicker results.

So in summary, you need to generate a Project API key to return results, and you can use a personal API key to have more recent additions.

Hope that helps

Re: API key is invalid or disabled.

Posted: Sun Jul 26, 2015 6:25 pm
by mkanet
Thanks so much for all your time to look into this! Initially, I did try api keys for projects. When that produced the "401 unauthorized" error, I mistakenly presumed I could use a personal API key instead the project api key.

I have a feeling the first time you updated the database may have fixed the original issue. I probably would have noticed if I had switched back to using an project API key earlier on.

Thanks for your time and support Kode!

Re: API key is invalid or disabled.

Posted: Fri Jul 31, 2015 11:29 am
by Kode
Hopefully the databases wont go out of sync again, I have put something in place to monitor and restart it now, if anyone wants to check if the replication is rrunning you can go to http://status.fanart.tv/

Re: API key is invalid or disabled.

Posted: Wed Aug 26, 2015 8:51 pm
by m3rcury
Hi, today I am trying to use my MediaPortal plugin to download fanart. When I use my client_key, it is returning Server Error but when I remove the client_key, it works. What could be the issue please?

Re: API key is invalid or disabled.

Posted: Thu Aug 27, 2015 12:07 pm
by Kode
Is it working now? There was an issue with the API last night that I have since resolved.

Re: API key is invalid or disabled.

Posted: Thu Aug 27, 2015 7:21 pm
by m3rcury
Thanks, confirm correct functioning of the API

Re: API key is invalid or disabled.

Posted: Fri Aug 28, 2015 1:16 pm
by zorensen
Kode, just noticed one thing here.
The API isn't available through SSL anymore.

This URL works;
http://webservice.fanart.tv/v3/music/

This doesn't:
https://webservice.fanart.tv/v3/music/

Is that intentional? ;)

Re: API key is invalid or disabled.

Posted: Mon Aug 31, 2015 6:46 pm
by Kode
Thanks zorensen, that should be fixed now!

Re: API key is invalid or disabled.

Posted: Tue Sep 01, 2015 9:55 pm
by zorensen
Great! :D
Just wanted to doublecheck with you. The API seems a bit slow these days, same with fanart.tv itself. Is there something going on? ;)