无法通过 Amazon CloudFront 发送请求:403 错误

Can't send request via Amazon CloudFront: 403 Error

我在 laravel 框架上创建了一个带有 CRUD(创建、查看、更新、删除)操作的 AWS Lambda 函数。

我要更新记录:

User::where('email', 'balbla@gmail.com')->update(['name' => $request->get('name')]);

但是我有这个错误:

403 ERROR
The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. 
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. 
Generated by cloudfront (CloudFront)

当我执行 http get 方法时,一切正常。我已阅读有关 CloudFront 的文档,但不知道如何修复它。我用邮递员。如果我知道问题出在 $request,我需要在 Amazon CloudFront 中创建分配。

那是我的错误。我打开邮递员并使用 GET 方法创建新查询,并将 json 添加到原始:

{
    "name" : "bla bla some name"
}

当我删除这个时 json 一切正常