#✅ - Can't get CORS to work with Admin Queries

3 messages · Page 1 of 1 (latest)

half lake
#

Hi,

I am using the generated Admin Queries API from Amplify to give my Admin users exclusive access to AWS resources; however, I cannot figure out how to make the CORS work, and I am sure everything is enabled properly on the backend, and now I have no idea how to proceed.

Below are screenshots my code to make the request, as well as the error and backend configuration.

half lake
#

Sorry, in my igornance, I realized that I am not supposed to include the same headers that are in the response in my request, now it works like this:.

hoary mountainBOT
#

✅ - Can't get CORS to work with Admin Queries