First time using this module. Been troubleshooting for a while now.
I have no issues loading NBA scores.
The same issue occurs when I use the default config of the module.
I assumed I was being rate limited or something and was being presented with an HTML error page, but when I curl the URL from the same VM the module is running on, I get a seemingly valid JSON response:
services@pve2-servicesvm:~/MagicMirror/config$ curl https://site.web.api.espn.com/apis/site/v2/sports/baseball/mlb/scoreboard?dates=20260321&limit=200
[1] 25325
services@pve2-servicesvm:~/MagicMirror/config$ {"leagues":[{"id":"10","uid":"s:1~l:10","name":"Major League Baseball","abbreviation":"MLB","midsizeName":"MLB","slug":"mlb","season":{"year":2026,"startDate":"2026-02-19T08:00Z","endDate":"2026-11-12T07:59Z","displayName":"2026","type":{"id":"1","type":1,"name":"Spring Training","abbreviation":"pre"}},"logos":[{"href":"https://a.espncdn.com/i/teamlogos/leagues/500/mlb.png","width":500,"height":500,"alt":"","rel":["full","default"],"lastUpdated":"2023-03-29T12:34Z"},{"href":"https://a.espncdn.com/combiner/i?img=/i/teamlogos/leagues/500-dark/mlb.png&w=500&h=500&transparent=true","width":500,"height":500,"alt":"","rel":["full","dark"],"lastUpdated":"2026-03-21T00:48Z"}],"calendarType":"day","calendarIsWhitelist":false,"calendarStartDate":"2026-02-19T08:00Z","calendarEndDate":"2026-11-12T07:59Z","calendar":["2026-02-19T08:00Z","2026-07-13T07:00Z","2026-07-15T07:00Z","2026-09-28T07:00Z","2026-09-29T07:00Z","2026-09-30T07:00Z","2026-10-01T07:00Z","2026-10-02T07:00Z","2026-10-03T07:00Z","2026-10-04T07:00Z","2026-10-05T07:00Z","2026-10-06T07:00Z","2026-10-07T07:00Z","2026-10-08T07:00Z","2026-10-09T07:00Z","2026-10-10T07:00Z","2026-10-11T07:00Z","2026-10-12T07:00Z","2026-10-13T07:00Z","2026-10-14T07:00Z","2026-10-15T07:00Z","2026-10-16T07:00Z","2026-10-17T07:00Z","2026-10-18T07:00Z","2026-10-19T07:00Z","2026-10-20T07:00Z","2026-10-21T07:00Z","2026-10-22T07:00Z","2026-10-23T07:00Z","2026-10-24T07:00Z","2026-10-25T07:00Z","2026-10-26T07:00Z","2026-10-27T07:00Z","2026-10-28T07:00Z","2026-10-29T07:00Z","2026-10-30T07:00Z","2026-10-31T07:00Z","2026-11-01T07:00Z","2026-11-02T08:00Z","2026-11-03T08:00Z","2026-11-04T08:00Z","2026-11-05T08:00Z","2026-11-06T08:00Z"
[trimmed]
Hi all,
First time using this module. Been troubleshooting for a while now.
With the following config:
{ module: "MMM-MyScoreboard", position: "top_right", header: "Scoreboard1", config: { viewStyle: "oneLine", alwaysShowToday: true, // showPlayoffStatus: true, rolloverHours: 24, sports: [ { league: "MLB", groups: ["American League", "National League"] }, ] } }I get stuck on
Loading MMM-MyScoreboard...infinitely. When analyzing the logs in pm2:With my
sportssection changed to the following:I have no issues loading NBA scores.
The same issue occurs when I use the default config of the module.
I assumed I was being rate limited or something and was being presented with an HTML error page, but when I curl the URL from the same VM the module is running on, I get a seemingly valid JSON response:
Thoughts? Thanks in advance