Comments (4)
Hey @sisygoboom,
there are two types of Amplify configuration files... I encountered the same issue while working with Amplify Gen2 and flutter. What helped me was adding:
--outputs-version 0
to my create command.
Complete Command:
npx ampx sandbox --outputs-format dart --outputs-out-dir lib --outputs-version 0
when using Amplify Gen 2 with Flutter, you must downgrade the generated client configuration file (amplify_outputs.dart) with [--outputs-version 0]
Hope that helps. :-)
from amplify-flutter.
Hi @printSamuel, I have been using that command for weeks now and it worked fine until recently. not using --outputs-version 0
creates a completely different file named amplify_output.dart
rather than apmlifyconfiguration.dart
from amplify-flutter.
@sisygoboom Sorry that you are facing this issue. We will look into this and get back to you when we have updates.
from amplify-flutter.
Based on the provided amplifyconfiguration.dart
the "OAuth"
configuration is missing the "AppClientId"
which is a required field. there is an open issue for this aws-amplify/amplify-backend#1551
We also have an open issue for improving error messages of Amplify.configure() API #4922 so I marked this issue as duplicate of #4922
thanks for opening this issue and please feel free to open a new issue if you faced any other problem.
from amplify-flutter.
Related Issues (20)
- PushNotificationException "Error occurred awaiting for device token." HOT 5
- Unhandled Exception: type 'Null' is not a subtype of type 'Map<dynamic, dynamic>' in type cast HOT 7
- Error: AuthorizationException (OAuth authorization error (invalid_client)) on signInWithWebUI
- Pinpoint push notification campaign events are not being recorded. HOT 3
- Unable to start subscription after internet interruption HOT 4
- Changing model prevents syncing HOT 7
- Blank notification after upgrading the flutter to v3.22.2 HOT 14
- Memory leak when configuring amplify HOT 10
- Datastore update auth groups Unauthorized error HOT 13
- InstructionsResolver is not a Class HOT 4
- Compile issues after upgrading to 2.2.0 HOT 10
- Conflict handler not called for conflicts created while offline HOT 6
- Receive "ERROR | WebSocketBloc | Shutting down with exception: NetworkException" after upgrading from Amplify Flutter 1.6 to 2.3 HOT 33
- Notifications from Pinpoint campaigns with the "local time" option are not sent. HOT 4
- With msix pakcage install to windows 10, 11, When sign in cognito, Got an error "request failed due to a network error" HOT 10
- Amplify Codegen for Flutter generating invalid `ModelProvider.dart` HOT 5
- Replace tuple with record types HOT 3
- Amplify Fails to Configure - WorkerBeeExceptionImpl HOT 11
- Сrash after completing a workmanager task HOT 2
- Support latest version of json_annotation HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-flutter.