ERROR 400 Bad request The request could not be satisfied

I try to call an api but it responds with statusCode 400 and this response:
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

In my code have set headers:
headers: {
“Access-Control-Allow-Headers”: “Content-Type”,
“Access-Control-Allow-Methods”: “OPTIONS,POST,GET”,
And in the Api gateway, i select enable cors but i can’t get it to work