API Gateway CORS error after update aws-cdk update to 1.135.0

0

I have an http api gateway with a LambdaProxyIntegration, using python, aws-cdk v1.134.0

After trying to upgrade to v1.135.0, and changing it to HttpLambdaIntegration, I'm getting the following error.

Access to XMLHttpRequest at 'https://{domain}.execute-api.{region}.amazonaws.com/dev/v1/web/...' from origin 'https://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

I enabled logging on the for the API stage and I'm seeing the requests, but I'm not seeing the request get logged in the lambda logs. Also, my CORS configuration did not change.

Any advice on how to resolve this?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠