1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello Ben,
It's possible that you have entered a bucket name that violated S3's bucket naming rules [1].
Additionally, "TypeError: Network error when attempting to fetch resource" usually indicates CORS error [2]. This might happens if you're sending your create bucket request to a region other than us-east-1, since your application will have to handle 307 Temporary Redirect [3], thus triggering a CORS error. The sample code from the tutorial allows you to change the configured region by changing the line (line 18) const REGION = "REGION" to const REGION = "us-east-1", which might resolve the CORS error.
Best,
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un mois
- demandé il y a 5 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois