to your account. Instead, the problem can usually be resolved in one of two ways. it. and everything was working till this morning, same version is deployed on gcloud and this works so I am a little bemused as to why I Am suddenly getting this error and what could be the cause. CORS: "ReferenceError: Headers is not defined" while using GetApisCommand of ApiGatewayV2Client, "@aws-sdk/client-apigatewayv2-browser/ApiGatewayV2Client", "@aws-sdk/client-apigatewayv2-browser/commands/GetApisCommand". Already on GitHub? By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. rev2022.11.4.43006. There is a non-existent variable referenced somewhere. rev2022.11.4.43006. You haven't provided any code to identify your problem.