Use your fanart.tv username and password to login to this forum, if you don't have one, clicking on register will take you to the registration form on fanart.tv

API key is invalid or disabled.

Post here any issues with the API or feature requests

Re: API key is invalid or disabled.

Postby mkanet » Sun Jul 26, 2015 2:59 am

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

Re: API key is invalid or disabled.

Postby Kode » Sun Jul 26, 2015 4:50 pm

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

Re: API key is invalid or disabled.

Postby mkanet » Sun Jul 26, 2015 6:25 pm

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

Re: API key is invalid or disabled.

Postby Kode » Fri Jul 31, 2015 11:29 am

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

Re: API key is invalid or disabled.

Postby m3rcury » Wed Aug 26, 2015 8:51 pm

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

Re: API key is invalid or disabled.

Postby Kode » Thu Aug 27, 2015 12:07 pm

Is it working now? There was an issue with the API last night that I have since resolved.
User avatar
Kode
Site Admin
Site Admin
 
Posts: 346
Joined: Wed Dec 18, 2013 11:34 am

Re: API key is invalid or disabled.

Postby m3rcury » Thu Aug 27, 2015 7:21 pm

Thanks, confirm correct functioning of the API
m3rcury
 
Posts: 3
Joined: Fri Jan 03, 2014 6:43 pm

Re: API key is invalid or disabled.

Postby zorensen » Fri Aug 28, 2015 1:16 pm

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
zorensen
Admin
Admin
 
Posts: 116
Joined: Wed May 07, 2014 9:02 pm
Location: Norway

Re: API key is invalid or disabled.

Postby Kode » Mon Aug 31, 2015 6:46 pm

Thanks zorensen, that should be fixed now!
User avatar
Kode
Site Admin
Site Admin
 
Posts: 346
Joined: Wed Dec 18, 2013 11:34 am

Re: API key is invalid or disabled.

Postby zorensen » Tue Sep 01, 2015 9:55 pm

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
User avatar
zorensen
Admin
Admin
 
Posts: 116
Joined: Wed May 07, 2014 9:02 pm
Location: Norway

PreviousNext

Return to API

Who is online

Users browsing this forum: No registered users and 12 guests