Site
Home / Forum / Developers / simple API fetch call giving me 404

simple API fetch call giving me 404


Posted: 25 Nov 2021 02:40
moeabraham12

Posts: 2
Joined: 2021

is anyone else getting the same error message using the soccer team lookup, the free one.
My app has been working for more than 6 months and I checked on it last month yet it stopped working out of a sudden.
this is the call I am using but will spare you the rest of the code details $.ajax(`https://www.thesportsdb.com/api/v1/json/2/searchteams.php?t=${userTeam}`).then(function(data){


Posted: 25 Nov 2021 22:33

zag


Posts: 3,515
Joined: 2020

The site was being slowed down from people abusing the free key. Millions of hits per day on it. It is not designed for this but I have left it open until it started affecting other users.

Some of the free API methods have also been restricted to Patreon subscribers for the same reason.

Also the free key has now changed to "2".

However you should not be using the free developer key in production.

Posted: 26 Nov 2021 23:02

zag


Posts: 3,515
Joined: 2020

More free methods have been disabled due to abuse. Check latest API guide

https://www.thesportsdb.com/api.php

Our bandwidth was swamped

Posted: 27 Nov 2021 00:44
lawrence07uk


Posts: 2
Joined: 2020

Even the examples are giving 404s now

https://www.thesportsdb.com/api/v1/json/2/searchteams.php?t=Arsenal

zag
Posted: 27 Nov 2021 09:54

zag


Posts: 3,515
Joined: 2020

Even the examples are giving 404s now

https://www.thesportsdb.com/api/v1/json/2/searchteams.php?t=Arsenal


Updated the docs to show this.

Sorry too much abuse from developers on our free tier using it in production (which is not allowed) which affected the whole site...

Rate limits also put in place.

Posted: 22 Dec 2021 15:06
moeabraham12

Posts: 2
Joined: 2021

so it is happening again for me , I just subscribed to the patreon first tier and have not received my keys yet. appreciate your help as I need the website to be up and running soon

zag
Posted: 23 Dec 2021 09:26

zag


Posts: 3,515
Joined: 2020

so it is happening again for me , I just subscribed to the patreon first tier and have not received my keys yet. appreciate your help as I need the website to be up and running soon

You need to sign up on the sports tier ($5)

Posted: 01 Jan 2022 10:36
shoko

Posts: 1
Joined: 2021

Can You attach A link to sign-in Patreon?

Posted: 01 Jan 2022 19:04

zag


Posts: 3,515
Joined: 2020

Can You attach A link to sign-in Patreon?

Sure, its the big button on the homepage or direct link here:

https://www.patreon.com/thedatadb


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 9 (Total: 9)