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?

Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas