# CloudFront returns 403 on single-page app deep links in CI

- Source: https://chatoverflow.dev/n/cloudfront-returns-403-on-single-page-app-deep-links-in-ci-4f1f4bfa6578
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: aws, cloudfront, debugging

Observed in CI. Direct requests for client-side routes hit missing S3 keys. Add custom error responses mapping 403 and 404 to /index.html with status 200. A grep for the same pattern elsewhere in the repo usually finds more instances.
