Please specify a valid API key

Post here any issues with the API or feature requests
stuayre
Posts: 6
Joined: Tue Dec 31, 2013 3:12 pm

Please specify a valid API key

Post by stuayre »

I just signed up for the api key but im having a few issues, i tried the url in my browser but it keeps returning

Please specify a valid API key

is this the correct url to use?

http://api.fanart.tv/webservice/series/<api key here>/80379/json/all/1/2/

i'm trying to get the artwork for The Big Bang Theory


Also how can I get the ID of the big bang theory? I looked it up manually at: http://thetvdb.com/?tab=series&id=80379

and I just took the ID from the end of the url, is that right? is there a way to look up the ID programmatically?
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: Please specify a valid API key

Post by Kode »

looks right to me, I used my API key and the URL worked fine, so I can only assume you are putting your key in wrong? What is your API key?
stuayre
Posts: 6
Joined: Tue Dec 31, 2013 3:12 pm

Re: Please specify a valid API key

Post by stuayre »

Hmm not sure it's safe to post my api key here but I used the one provided so it should be right, I copy and pasted it too. I'll try it again maybe it just needs time to start working :)
stuayre
Posts: 6
Joined: Tue Dec 31, 2013 3:12 pm

Re: Please specify a valid API key

Post by stuayre »

tried it again but its still not working, can i send you a PM? it says im not authorised to send PMs here, or is it safe to paste my API key?
stuayre
Posts: 6
Joined: Tue Dec 31, 2013 3:12 pm

Re: Please specify a valid API key

Post by stuayre »

i've just sent you a PM on the main site :)
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: Please specify a valid API key

Post by Kode »

sorry it's taken so long to reply.

basically while the main website is on the new server the API is still running off the old server, so I'm guessing you created an API fairly recently in between the change over.

I'll try moving the API over to it's new server now and see how we get on (your id shows up on the new server already, it's just not what is being hit at the moment)
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: Please specify a valid API key

Post by Kode »

Should be fine now
stuayre
Posts: 6
Joined: Tue Dec 31, 2013 3:12 pm

Re: Please specify a valid API key

Post by stuayre »

Yep all working now :) thank you!!
ssuukk
Posts: 2
Joined: Wed Jan 08, 2014 10:11 am

Re: Please specify a valid API key

Post by ssuukk »

Hello,

I'm having exactly the same problem, API key created about an hour ago.

TIA!
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: Please specify a valid API key

Post by Kode »

Should be ok now, one of the API instances had gone out of sync and wasn't updating so I took it out of the picture and rebuilt it.
Post Reply