You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the "Getting Started" guide for integrating Amplify with iOS; however, I've encountered an issue with the section around connecting to the cloud. Specifically, on the "Connect to the cloud" page and under the "Enable cloud syncing" section, it mentions that configuring the app to use Amplify API should allow your application data to be synced to the cloud automatically.
After following the steps and running the app, I receive the following error when calling either Amplify.DataStore.save or Amplify.DataStore.publisher:
"[StorageEngine] Unable to find suitable Auth plugin for syncEngine. Models require auth"
I searched through some forums/etc. and tried running amplify update api to include IAM as the authentication method for the API call and then ran amplify push. I've tried searching around for this specific error but the only instance I've found is on Issue #340 . There is a comment mentioning the same issue and that they followed similar steps; however, it is the very last comment on that thread.
I read through the steps a handful of times but I'm not sure if there's anything that I might be missing. Please let me know, thank you so much!
Steps To Reproduce
Steps to reproduce the behavior:1. Follow the iOS Getting Started guide (https://docs.amplify.aws/start/q/integration/ios/)
2. Complete the "Enable cloud syncing" section on the "Connect to the cloud" page
3. Run the app and call either Amplify.DataStore.save or Amplify.DataStore.publisher
Expected behavior
The data will be synced to the cloud
Amplify Framework Version
1.26.2
Amplify Categories
API, DataStore
Dependency manager
Swift PM
Swift version
5.6.1
CLI version
8.5.0
Xcode version
13.4.1
Relevant log output
No response
Is this a regression?
No
Regression additional context
No response
Device
Simulator
iOS Version
iOS 15.5
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
jdulb17
changed the title
"Unable to find suitable Auth plugin for syncEngine. Models require auth" (Possible gap in documentation/setup?)
"Unable to find suitable Auth plugin for syncEngine. Models require auth"
Jun 14, 2022
My apologies - it looks like my issue stemmed from clicking into the "API (GraphQL)I" section on the "Next steps" page and running amplify add api. I created a net-new project and was able to get things to sync correctly. Thanks & sorry again!
Describe the bug
Hi all,
I followed the "Getting Started" guide for integrating Amplify with iOS; however, I've encountered an issue with the section around connecting to the cloud. Specifically, on the "Connect to the cloud" page and under the "Enable cloud syncing" section, it mentions that configuring the app to use Amplify API should allow your application data to be synced to the cloud automatically.
After following the steps and running the app, I receive the following error when calling either
Amplify.DataStore.save
orAmplify.DataStore.publisher
:"[StorageEngine] Unable to find suitable Auth plugin for syncEngine. Models require auth"
I searched through some forums/etc. and tried running
amplify update api
to include IAM as the authentication method for the API call and then ranamplify push
. I've tried searching around for this specific error but the only instance I've found is on Issue #340 . There is a comment mentioning the same issue and that they followed similar steps; however, it is the very last comment on that thread.I read through the steps a handful of times but I'm not sure if there's anything that I might be missing. Please let me know, thank you so much!
Steps To Reproduce
Expected behavior
The data will be synced to the cloud
Amplify Framework Version
1.26.2
Amplify Categories
API, DataStore
Dependency manager
Swift PM
Swift version
5.6.1
CLI version
8.5.0
Xcode version
13.4.1
Relevant log output
No response
Is this a regression?
No
Regression additional context
No response
Device
Simulator
iOS Version
iOS 15.5
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: