Skip to content

Synchronization is broken #14

@tomxor

Description

@tomxor

After performing initial synchronization, and then invoking client.performSynchronization() / client.performSynchronizationBlocking() with the CDASyncedSpace result of the original sync, an exception with the following stacktrace is thrown:

 retrofit.RetrofitError: 400 Bad Request
            at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:382)
            at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240)
            at com.contentful.java.api.$Proxy0.performSynchronizationBlocking(Native Method)
            at com.contentful.java.api.CDAClient.performSynchronizationBlocking(CDAClient.java:556)
            at $SynchronizeContentTask.doInBackground(MainActivity.java:144)
            at $SynchronizeContentTask.doInBackground(MainActivity.java:129)
            at android.os.AsyncTask$2.call(AsyncTask.java:287)
            at java.util.concurrent.FutureTask.run(FutureTask.java:234)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
            at java.lang.Thread.run(Thread.java:841)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions