Missing or malformed value for Region in awsS3StoragePluginconfiguration. (Flutter, android)

0

I got this error when I'am trying to configure Amplify:

    try {
    final authPlugin = AmplifyAuthCognito();
    final storage = AmplifyStorageS3();
    await Amplify.addPlugins([authPlugin,storage]);
    await Amplify.configure(amplifyconfig);
   } on Exception catch (e) {
      safePrint('An error occurred configuring Amplify: $e');
    }

In my amplifyconfiguration.dart I have "Region": "us-east-1" everywhere and the same region in my bucket in console. What can I do wrong?

Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions