Bug: A game that happened already is not showing the results at home
willianjusten opened this issue · 4 comments
willianjusten commented
There's one game that this is happening, we just need to debug (see the API response and understand what's happening there).
How to do it:
- Go to the date (02 March 2022)
- Comment the Index function here and it should
- Refresh the page and you'll be able to see the whole JSON coming from the API
- The component that is behaving weird is the GameCard, check the data coming and what's being done inside the card, you'll find out the issue
willianjusten commented
Actually, this whole day is working weird, if you take a look at the values, all of them are not displaying correctly, all the games have finished already! =O
willianjusten commented
Daaaamn, that's a bug from their API!! We can't do anything =/
qzw881130 commented
Daaaamn, that's a bug from their API!! We can't do anything =/
me too
ubuntu@ip-172-31-14-156:/tmp$ curl http://data.nba.net/prod/v2/20230128/scoreboard.json
<HTML><HEAD>
<TITLE>Service Unavailable</TITLE>
</HEAD><BODY>
<H1>Service Unavailable - DNS failure</H1>
The server is temporarily unable to service your request. Please try again
later.<P>
Reference #11.c9142017.1674985135.1317e019
</BODY></HTML>
ubuntu@ip-172-31-14-156:/tmp$
ubuntu@ip-172-31-14-156:/tmp$
ubuntu@ip-172-31-14-156:/tmp$ curl https://data.nba.net/prod/v2/20230128/scoreboard.json
<HTML><HEAD>
<TITLE>Service Unavailable</TITLE>
</HEAD><BODY>
<H1>Service Unavailable - DNS failure</H1>
The server is temporarily unable to service your request. Please try again
later.<P>
Reference #11.4e965468.1674985152.82b653c
</BODY></HTML>
willianjusten commented
They changed the API so it's not working anymore. I'll need to adapt to a new one but I don't have time now...