apache / apache/pouchdb

HTTP 413 during live replication is not surfaced via replication events

Open
#9,165 3 comments 1 reaction 0 assignees View on GitHub
bug enhancement help-wanted triaged
Dominant language
JavaScript
Stars
17.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Hello, I’m trying to catch an HTTP **413 (Content Too Large)** error in order to notify the user when the remote server rejects a request.

When using **PouchDB live replication** with CouchDB, a `413 Content Too Large` response from `_bulk_docs` is visible in DevTools, but it is **not exposed through any replication event**.

I expected this information to be available in the `paused(err)` event, but `err` is always `undefined`.

### Info

* `pouchdb-browser`: `^9.0.0`
* Platform: Electron
* Adapter: IndexedDB
* Server: CouchDB

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.