Skip to content

Plugin sync fails with 400 on /api/plugin/device and /api/plugin/import #123

Description

@kama1509

Description

Syncing via the KOReader KoInsight plugin fails with "no books and annotations found" / "server error" on the device. Server-side, the Docker logs show 400 errors for the relevant requests.

Setup

  • KoInsight server: Docker (ghcr.io/georgesg/koinsight:latest), running on a Raspberry Pi
  • Device: PocketBook Verse Pro, KOReader (latest version, plugin installed via AppStore)
  • Server URL correctly configured and reachable (manual .sqlite upload via the web UI works fine)

Server logs during sync attempt

POST /api/plugin/device 400 109 - 2.135 ms
POST /api/plugin/import 400 109 - 3.590 ms

Expected behavior

The automatic sync should successfully transfer the statistics.sqlite3 data, the same way the manual upload does.

Additional info

Happy to provide further logs/details if needed.

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