ok, it looks like this comes from the backend Pages project, there's a Function on this project which seems to throw that 500 due to being challenged on a subrequest
I know the problem I have an api.domain.com and seems that the Bot settings is also making that API a challange, then returning a non valid JSON making the whole app fail