Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.
This repository was archived by the owner on May 7, 2022. It is now read-only.

400 Bad Request: Item date error when syncing #11

Description

@m4tsuri

RSS3 SDK version: "rss3": "^0.8.19"

The code below can cause a 400 Bad Request:

let user = const news = new RSS3({
    endpoint: 'https://prenode.rss3.dev',
    // this is an random account with some items already posted to the prenode
    privateKey: '081ad9420a223dee54414be198bc6a07d23fa2028b00be6386aa389f9f2071e7',
});
let item = await user.items.custom.post({
    "title": `test`
})
console.log(item.id)
await user.files.sync();

Prenode returns:

{
    "code": 4004,
    "message": "Items date error"
}

It seems that there is an error when backend is parsing the repacked item list.

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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