API key is invalid or disabled.

Post here any issues with the API or feature requests
mkanet
Posts: 5
Joined: Sat Jul 18, 2015 7:55 pm

Re: API key is invalid or disabled.

Post 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.
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: API key is invalid or disabled.

Post 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
mkanet
Posts: 5
Joined: Sat Jul 18, 2015 7:55 pm

Re: API key is invalid or disabled.

Post 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!
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: API key is invalid or disabled.

Post 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/
m3rcury
Posts: 3
Joined: Fri Jan 03, 2014 6:43 pm

Re: API key is invalid or disabled.

Post 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?
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: API key is invalid or disabled.

Post by Kode »

Is it working now? There was an issue with the API last night that I have since resolved.
m3rcury
Posts: 3
Joined: Fri Jan 03, 2014 6:43 pm

Re: API key is invalid or disabled.

Post by m3rcury »

Thanks, confirm correct functioning of the API
User avatar
zorensen
Admin
Admin
Posts: 116
Joined: Wed May 07, 2014 9:02 pm
Location: Norway
Contact:

Re: API key is invalid or disabled.

Post 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? ;)
"If you can't explain it simply, you don't understand it well enough." Albert Einstein

- Getting started
- Navigating Fanart.tv
- Why Your Image May be Denied
- Moderation Time
- Music Fanart Rules
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: API key is invalid or disabled.

Post by Kode »

Thanks zorensen, that should be fixed now!
User avatar
zorensen
Admin
Admin
Posts: 116
Joined: Wed May 07, 2014 9:02 pm
Location: Norway
Contact:

Re: API key is invalid or disabled.

Post 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? ;)
"If you can't explain it simply, you don't understand it well enough." Albert Einstein

- Getting started
- Navigating Fanart.tv
- Why Your Image May be Denied
- Moderation Time
- Music Fanart Rules
Post Reply