#Failure encountered while attempting to start API sync

3 messages · Page 1 of 1 (latest)

gray wyvern
#

I created a simple Kotlin application that saves a timestamp every 10 seconds using amplify datastore and this guide - https://youtu.be/o8cUMz38K1Q . It worked just fine until 2 days ago. The application stopped working for some reason. Now I get this error - DataStoreException{message=DataStore subscriptionProcessor failed to start., cause=DataStoreException{message=Error during subscription., cause=ApiException{message=Connection failed., cause=null, recoverySuggestion=Sorry, we don't have a suggested fix for this error yet.}, recoverySuggestion=Evaluate details.}, recoverySuggestion=Check your internet.}. I tried everything, updating all software packages, factory resetting the smartphone, clearing both local and cloud databases, pulling the amplify again but it did nothing. Could anyone help me ?

Kilo Loco goes over the CRUD (Create, Read, Update, Delete) operations for working with Amazon DynamoDB by using AWS Amplify DataStore with Android and Kotlin. This Android tutorial covers creating a data model in the Amplify Admin UI, implementing Amplify into an android project, and the implementation of the core DataStore operations.

*** Sh...

▶ Play video
wheat snow
#

Hi @gray wyvern , Are you using an emulator or physical device? Can you make sure that you are able to access the internet (ie. open a browser)

gray wyvern
#

@wheat snow Im using a physical smartphone, Samsung S21. Yes im sure the device has access to the internet. I tried both WiFi and 4G.