Calling your API returns `{"message":"Missing Authentication Token"}`.
BeginnerTroubleshootingRoute 53, CloudFront, API Gateway and Messaging
Answer
Likely causes → Despite the name, this almost always means the route does not exist: a wrong path or method, a missing stage in the URL (/prod/orders), or the API was not deployed after the change (REST APIs need a deployment).
Diagnose →
aws apigateway get-resources --rest-api-id abc123 --query 'items[].[path,resourceMethods]'
aws apigateway get-stages --rest-api-id abc123 --query 'item[].[stageName,deploymentId,lastUpdatedDate]'
curl -i https://abc123.execute-api.us-east-1.amazonaws.com/prod/orders
Fix →
- Call the correct stage, path and method
- Redeploy:
aws apigateway create-deployment --rest-api-id abc123 --stage-name prod
Prevent → Deploy APIs through IaC, which creates deployments automatically, and add a smoke test per route after each deploy.
More on Route 53, CloudFront, API Gateway and Messaging
You created a public hosted zone and records for `example.com`, but `dig example.com` returns `NXDOMAIN` or old records.Beginner`InvalidChangeBatch: RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com.`BeginnerThe primary Region is down, but Route 53 failover records still send traffic to it.IntermediateA Route 53 health check reports `Failure: Connection timed out` for an endpoint that works fine from your laptop.IntermediateYou changed an A record an hour ago, but some users still reach the old server, and a newly created name returned `NXDOMAIN` for a while.AdvancedCloudFront returns `403 AccessDenied` (S3 XML) for every object after you switched the S3 origin to Origin Access Control.Intermediate