"An error has occurred. Unexpected token < in JSON at position 0"

Been setting up bitwarden most of yesterday and had no issues with it, all of a sudden the iOS app and Linux app wouldn’t sync. Tried to log out and log back in, and now I’m getting this on the linux app

An error has occurred.
Unexpected token < in JSON at position 0

The iOS app also crashes whenever I try to log in through that.

I can log into bitwarden fine through the web app, and the chrome extension. Syncing between them is fine, as well as logging out and logging back in.

I’ve tried restarting the docker/forcing update, I’ve tried deleting the apps and redownloading, I’ve tried de-authorising all the sessions and logging back in. Nothing comes up in the container log.

I’m using bitwardenrs/server on unraid, hosted on a whitebox server. I’m not sure what, if any, changes I made between it working and then not working.

here is my diagnostics

I figured it out, I had authelia set up for my bitwarden proxy and that was stopping access.