Skip to content

create new replication using api not working #3945

Answered by nickva
ryzam asked this question in Q&A
Discussion options

You must be logged in to vote

If a replication job is created via a POST to /_replicate instead of via adding a document to a .../_replicator database, the first time the job crashes it will be evicted (removed) even if it is a continuous job. Try to use the a _replicator database instead, and create a replication document there.

Note: I edited the discussion question to turn the basic auth header details to into 'x'-s. In case those were not just toy / demo passwords and your actual credentials make sure to rotate them immediately, as they are now public.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ryzam
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants