503 Internal Error on public API request

Sort:
simplechessbro11

So I have a python program that's querying the API and it's been working fine. A week ago or so I told support I had two accounts and it was approved. Well, now my program has been fine making calls to get PGN data from my newer account, but today I went to pull PGN data from the other account (SimpleChessBrah), and the JSON returned is an error message with error 503, with the message: 

An internal error has occurred. Please contact Chess.com Developer's Forum for further help https://www.chess.com/club/chess-com-developer-community

Help would be appreciated.

Martin_Stahl

Is it on all API endpoints or a specific one?

Also, is your user-agent configured correctly?

https://www.chess.com/announcements/view/breaking-change-user-agent-contact-info-required

The Public API doesn't use credentials, so the account doesn't matter.

YankeeBastid

I would check to see if the data is returned from a request outside of your script. Test it from the URL.

0xJulian

Experienced the same issue, but seems fixed now

simplechessbro11
Martin_Stahl wrote:

Is it on all API endpoints or a specific one?

Also, is your user-agent configured correctly?

https://www.chess.com/announcements/view/breaking-change-user-agent-contact-info-required

The Public API doesn't use credentials, so the account doesn't matter.

Yes, my agent is configured correctly.
It only happens when I call it with chessdotcom.get_player_games_by_month_pgn(username, year, month)
Any other call querying that username is fine. 
chessdotcom.get_player_profile()
chessdotcom.get_player_games_by_month()
Those both work fine, but if I try to get the PGN, it returns a 503 error for October. Yes, I played games in October. And for November and December it returns an empty JSON. Not sure if I played yet this month on that account but I definitely did in November. 
And like I said, the only time I'm receiving an error is when I try to query the API for a PGN of that username. Every other username entered retrieves the JSON with PGN information.