Error when using parse-server demo code

I set up the parse server from the demo and it was working fine (messages were requesting fine, and they were being verified( and users objects) were being returned ). but now when i try connecting to it from my front end i can only request messages, i get these errors when trying to verify the sigs.

response: {
status: 500,
statusText: ā€˜Internal Server Error’,
headers: [Object],
config: [Object],
request: [ClientRequest],
data: [Object]
}
}
}
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

i am calling them like so:

REQUESTING MESSAGES:

const userData = { address, chain: chain.id, network: ā€œevmā€ };
const { data } = await axios.post(
${AUTH_API_URL}/api/auth/request-message,
userData,
{
headers: {
ā€œcontent-typeā€: ā€œapplication/jsonā€,
},
}
);

and VERIFYING SIGS:
const message = data.message;
const signature = await signMessageAsync({ message });

  const signData = { message, signature };
  const { user } = await axios.post(
    `${AUTH_API_URL}/api/auth/sign-message`,
    signData,
    {
      headers: {
        "content-type": "application/json",
      },
    }
  );

same code was working before and it stopped working?