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 a year ago
Relevant content
- Accepted Answerasked 2 months ago
- asked 2 years ago
- asked 6 months ago
- asked 7 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months 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.