简体   繁体   中英

After updating aws-amplify i am getting error

after updating aws-amplify, i am getting this error, i am using amplify storage

Refused to set unsafe header "host" Uncaught (in promise) TypeError: Cannot read property 'map' of undefined at AWSS3Provider. (AWSS3Provider.ts:409)

am i missing something? need help!

When I use aws-amplify@3.0.7 and aws-amplify-react@4.1.6 I had the same error, after I switched to "aws-amplify": "^2.3.0" and "aws-amplify-react": "^3.1.9", the issue gone

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM