Unable to set response.
This content is not available in your language yet.
ResponseSentError: The response has already been sent to the browser and cannot be altered.
What went wrong?
Making changes to the response, such as setting headers, cookies, and the status code cannot be done outside of page components.
Error Reference