-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy failed if created 190 data modeling at local #2145
Comments
We are currently looking into it and will keep you updated. In the meantime, can you help with the following questions:
|
1.yes, I am getting the error when run amplify push command |
I don't think the error report is attached. Let me see if I'm able to reproduce it while I await your log file. |
Hi Banji180, attached the error report, thanks. |
Hi @banji180 I tested out the limitation (without deploy fail error) for the previous schema with below data struct, max can deploy 144 data model! id: ID! but after changing to new schema (attached here) which has more data field, the max data model is not 144 anymore, I am still testing the limitation, will the number of data field affect the number of data model? Please advise, thanks! |
Hi @banji180 I tried to use below command to deploy again, but still fail to deploy. amplify push --allow-destructive-graphql-schema-updates amplify push --force Look forward to having your feedback, otherwise I am not able to move on, thanks! |
Hi @KevinLam0308, Default Appsync subscription limit is 100 per connection. Datastore creates 3 subscriptions for each model so total subscriptions for 190 will be 190*3= 570. You can refer to the default limits here and you may request the limit increase here. |
Hi @AnilMaktala, thanks for the reply. I am so confusing for the subscription limit. Now, I modified the schema from 190 models down to 88 in my Android studio project, total subscriptions for 88 is 264, in this case, I can deploy to server successfully. So why the 100 per connection seems not affecting to 264 subscriptions or it has another meaning? **another questions: After deploying 88 models to server successfully then I add "Subscription" in the schema then deploy again, but it failed (attached the error report): Does this error caused by other Service Quota that I've already exceeded the limit? Please advise. Thanks. |
Hi @KevinLam0308,I suspect there might be a maximum number of For example, instead of defining:
You can define one model type called:
Later in your code, you can instantiate a model with id equal to "M20432052P". You can also add a new field called Please reach out again if you require further assistance |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Before opening, please confirm:
Language and Async Model
Java
Amplify Categories
GraphQL API
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
Hello,
I would like to create more than 600 data modeling on amplify console, in order to reduce the development time, I do this in local by following steps:
I got deploy fail error during deploying, then I reduce the size of data modeling to 190 but still no luck.
Questions:
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
report-1669771429903.zip
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: