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?

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen