1 Answer
- Newest
- Most votes
- Most comments
0
It looks like x-amzn-errortype
tells that request from CloudFront has not been authorized by API GW.
You can configure CloudFront to convey API in the custom header sent to Origin (API GW in this case):
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 4 months ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
Can you elaborate - should I configure API Gateway or CloudFront?
One problem is that on CloudFront I don't have any "distribution". Everything seems to work without a distribution for me. And I'm not sure I can just create one either, everything has been working like that for quite a while already.