Sync Gateway POST _bulk_docs No Error


#1

When I POST a bunch of docs using _bulk_docs I am purposely throwing an error in my sync function to make sure I can catch an error if any of the docs in the bulk batch fail to post. Looking at the Sync Gateway logs I can see that the docs aren’t creating due to a 403, which is what I want, but from my code I am still getting a 201 status code. How do I check that all the docs were actually created, despite the misleading 201 status code?


#2

IGNORE THIS. Found in docs. Sorry