Site
Home / Forum / Developers / Former teams lookup with Patreon key

Former teams lookup with Patreon key


Posted: 24 Jan 2023 09:21
nkl-kst
Posts: 16
Joined: 2021-01-01

Hi,

the former team lookup endpoint seems to be broken if we use a Patreon key:

https://www.thesportsdb.com/api/v1/json/3/lookupformerteams.php?id=34147178
--> Works fine

https://www.thesportsdb.com/api/v1/json/PATREON_KEY/lookupformerteams.php?id=34147178
--> No results

Posted: 24 Jan 2023 09:28
curswine
Posts: 870
Joined: 2020-06-17

Hi,

the former team lookup endpoint seems to be broken if we use a Patreon key:

https://www.thesportsdb.com/api/v1/json/3/lookupformerteams.php?id=34147178
--> Works fine

https://www.thesportsdb.com/api/v1/json/PATREON_KEY/lookupformerteams.php?id=34147178
--> No results


Can you double check your API key you're using is correct?

I just tested and it works fine for me.

Posted: 24 Jan 2023 09:39
nkl-kst
Posts: 16
Joined: 2021-01-01

That's strange. I'm using the same key for all other endpoints in my tests in https://github.com/nkl-kst/the-sports-db. Also double checked it, the key is correct.

It works without problems on a basic team search: https://www.thesportsdb.com/api/v1/json/SAME_PATREON_KEY/searchteams.php?t=Arsenal

Any idea?

Posted: 24 Jan 2023 10:52

zag
Posts: 3,331
Joined: 2020-03-23

Can you pm me on discord or via email [email protected] your api key, maybe I broke it somehow....

Posted: 26 Jan 2023 12:35

zag
Posts: 3,331
Joined: 2020-03-23

Hopefully fixed now, not sure what happened there but its working again

Posted: 26 Jan 2023 12:40
nkl-kst
Posts: 16
Joined: 2021-01-01

Hopefully fixed now, not sure what happened there but its working again

Can confirm it is fixed for my key. Self-fixing issues are the best

zag

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 6 (Total: 6)