My team ran into a 494 error earlier this week coming out of CloudFront. The first few files requested from CloudFront would be successful, then we would hit the 494 error and most requests after that, but not all, would fail.
The first place we looked was CloudFront logs, but these 494 requests weren’t getting logged at all.
After some troubleshooting we narrowed the issue down to header size.
Solution for CloudFront 494 Error
Some functionality was added which increased the size of one of the headers. Reducing the size of this header again fixed the issue.
AWS Quotas tells us that for CloudFront the max length of an individual header is 1,783 characters.
AWS doesn’t have any good docs on this error for some reason. In fact, the first official AWS docs that show up on Google when you search for this issue don’t even address it at all, that makes it hard to troubleshoot.
Please leave a comments here if this helped you and let others know what you did to cause this and then what you did to fix it.
Leave some Feedback
Did this post help? If so please leave a comment.
1 thought on “CloudFront 494 Error – Quick Fix”
WHY AM GETTING MESSAGE 494 IF I WANT TO SEARCH ON TH4E NET