Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
willianjusten opened this issue Mar 3, 2022 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@willianjusten
Copy link
Owner

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

@willianjusten willianjusten added the bug Something isn't working label Mar 3, 2022
@willianjusten willianjusten added this to the MVP 1 - Show info milestone Mar 3, 2022
@willianjusten
Copy link
Owner Author

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
Copy link
Owner Author

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

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

@qzw881130
Copy link

qzw881130 commented Jan 29, 2023

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>

@willianjusten
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants