Hi @hannah,
Have a look at the application/website needs of headers, cookies or query strings so that you can configure your CloudFront to provide all of these. There are high chances that your CloudFront distribution is not able to provide everything your website requires.
Let me know if this works!