#"X-Forwarded-Host" undefined in update and create operations

3 messages · Page 1 of 1 (latest)

gleaming verge
#

My local create and update operations throw: "Cannot read properties of undefined (reading 'x-forwarded-host')". This error is returned even if the local operations succeed.

I'm using rewrites in my Nextjs frontend, and the community has posted issues about Nextjs modifying headers on rewrites, but not removing them.

Version: Payload 2.16.1 (Nextjs 14.1.0)

near patrolBOT
gleaming verge
#

Never mind my bad ✌️