Data not replicating to Sync Gateway from Java API or Couchbase Server Admin


Im having an issue with Couchbase Server. We have made a Java SDK backend program that process the data that is storaged in the database.

The problem lies in the replication of the updates done by the backend, or even in the admin tool (usually in the port 8091). This changes do not replicate to the Sync Gateway and the data gets corrupted or unusable.

Is there something that must be done to replicate data from the server or the Java SDK to the sync gateway?