You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access to fetch at 'https://aaaa.execute-api.us-east-1.amazonaws.com/dev/listGroups' from origin 'http://localhost:3001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
On trying to pass query string parameters using the above example, no error occurs but the parameters are not passed in request URL and they are not visible in the Lambda function event.
Expected behavior
No CORS error.
Query string parameters should be passed in the request.
Reproduction steps
Follow the above mentioned docs
Code Snippet
No response
Log output
// Put your logs below this line
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered:
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
REST API
Amplify Version
v6
Amplify Categories
api
Backend
None
Environment information
NA
Describe the bug
https://docs.amplify.aws/javascript/build-a-backend/auth/admin-actions/#example
Access to fetch at 'https://aaaa.execute-api.us-east-1.amazonaws.com/dev/listGroups' from origin 'http://localhost:3001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Expected behavior
Reproduction steps
Follow the above mentioned docs
Code Snippet
No response
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: