When trying to sync between mobile and sync-gateway, how to capture FORBIDDEN status errors as callback? There is only change listener available and it does not get error callback but I can see logs from cb android library like this,
But even getError returns null always when the above log is printed.
I think it is because 403 errors are eaten up here,
Log.w(TAG, “%s: _bulk_docs got an error: %s”, item, this);
// 403/Forbidden means validation failed; don’t treat it as an error
// because I did my job in sending the revision. Other statuses are
// actual replication errors.
Is there any other way to capture sync-gateway FORBIDDEN 403 errors in replication object? Thanks!