willianjusten/nba-remix

Bug: A game that happened already is not showing the results at home

willianjusten opened this issue · 4 comments

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

image

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

Daaaamn, that's a bug from their API!! We can't do anything =/

http://data.nba.net/prod/v2/20220302/scoreboard.json

Daaaamn, that's a bug from their API!! We can't do anything =/

http://data.nba.net/prod/v2/20220302/scoreboard.json

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&#32;&#35;11&#46;c9142017&#46;1674985135&#46;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&#32;&#35;11&#46;4e965468&#46;1674985152&#46;82b653c
</BODY></HTML>

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...