Page 1 of 1
Invalid Answer From Server
Posted: 13 February 2026, 13:19
by The Red Kite
Hi
Apologies if this has already been asked. Did a search and could not find it.
I recently started to see the following (red) message when I start the game I am developing in BGA Studio
Invalid Answer from server
Well I think that's what it says. It flashes up so quickly.
Re: Invalid Answer From Server
Posted: 13 February 2026, 14:00
by thoun
What is the project? Do you have the full error in the DevTool console?
Re: Invalid Answer From Server
Posted: 13 February 2026, 17:46
by The Red Kite
I am investigating.
When I checked in my code to source control I got some suggestions about changes (such as removing states 1 and 99 from the state file, and remove some deprecated methods, delete the version.php etc) I could make as the platform has moved on since I last checked in.
I made some of the changes and then re-ran the game (express start). I got the nice messages such as 'you have enough players' and then the error.
I just rolled everything back prior to making the changes and the error has disappeared.
BTW: I looked in the Javascript console and couldn't see any errors.
I am assuming that during game setup something is sent back to the client and the client didn't like it.
Re: Invalid Answer From Server
Posted: 13 February 2026, 17:59
by The Red Kite
Re: Invalid Answer From Server
Posted: 13 February 2026, 18:09
by The Red Kite
The error does not seem to happen in the Alpha version of the game.
Only seems to happen with the 'local' version which I am developing.
The game seems to play ok. The error doesn't seem to affect game play. But I will test to be sure that this is the case.
Neil
Re: Invalid Answer From Server
Posted: 14 February 2026, 22:43
by The Red Kite
I think this is a browser problem.
I saw it in Firefox but not Chrome or Safari (on my iPhone).
Searching the web I see that this error is normally a 5xx HTTP error code from the server. I am thinking that something was cached in Firefox.
When I deleted my browser's cache the error seemed to go away.
Of course, if someone can think of another explanation, it would be good to know.
Well I have played my game a few times and haven't seen the error recur. Will continue to monitor in the next few days.