Skip to content

Sharables: New CloudFront Web Application Firewall (WAF) 403 Issue blocking Shared Templates #357

@Vinyl-Davyl

Description

@Vinyl-Davyl

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

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions