CloudFront 403 Error Blocking Template Sharing 🚨
Discussion 🗣
Our Users are encountering a 403 ERROR when attempting to share templates in the playground. Error suggests a CloudFront misconfiguration or origin issue OR wrong origin permissions (S3, API Gateway, or Lambda URL)
Context
The template playground is a serverless app using lz-string for data compression. The error occurs during template sharing, blocking requests with the message:
Request blocked. We can't connect to the server for this app or website at this time.
Shot
Detailed Description
- Error Message:
403 ERROR (CloudFront)
- Request ID:
eqGKC14htdey-VcgqOH5489kj-jy6OmIz3OgZf_SSl2hcO503fv9bw==
- Likely Causes:
- CloudFront origin misconfiguration
- CORS headers missing for lz-string payloads
- WAF rules blocking encoded data
- API Gateway/Lambda timeout or size limits