This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
X-HTTP-Method-Override breaks relationship field on AWS CloudFront hosting. #7007
Labels
You can continue the conversation there. Go to discussion →
Link to reproduction
No response
Payload Version
v3.0.0-beta.56
Node Version
20
Next.js Version
15-rc
Describe the Bug
AWS cloudfront removes the X-HTTP-Method-Override header from HTTP requests as a security measure. In PR#6487 #6487 a feature was added for what looks like an edge case of having a large number of items in a relationship field which uses the X-HTTP-Method-Override to tunnel GET requests in POST. This breaks the loading of items and the use of the relationship field on cloudfront hosting, which is also used by AWS amplify.
Reproduction Steps
Create a simple relationship between two collections, deploy your project on AWS Amplify. When you try to select the pick list to input the relationship fields you will see the list of items does not load:
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: