Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Message: 'Version on server is not -1 of what you supplied: Server: 1, Client req: 1' #20

@seb3point0

Description

@seb3point0

The client throws this error on the uploadEPUB method: Message: 'Version on server is not -1 of what you supplied: Server: 1, Client req: 1',

Everything was working fine until a few days ago. Perhaps this could be change to the server.

  const deviceToken = "<token>"  
  const client = new Remarkable({ deviceToken })
  await client.refreshToken()

  const epub = fs.readFileSync("./file.epub")
  try {
    return await client.uploadEPUB(name, uuid, epub)
  } catch (error) {
    console.error(error.message)
  }```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions