Skip to content

HTTP 413 during live replication is not surfaced via replication events #9165

@ajboni

Description

@ajboni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions