Skip to content

JS 0.12.0 - Unable to create folders, HTTP 422 with code 200501 #15

@mareklinka

Description

@mareklinka

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

First off, thanks for the work on the SDK - I realize this is a work in progress but since this behavior is new, I thought I'd ask anyway.

I started seeing HTTP responses 422 every time my app tries to create a new folder. The code is nothing special:

await this.client.createFolder(parentId.uid, name, new Date());

The same code was working two days ago, now it seems to be failing consistently with

ProtonApiError: Could not verify the nodeKey was used for encrypting xAttr, nodeHashKey

This feels like a server-side change since the same is now happening for older versions of the SDK as well - tested with 0.10.0. It's also happening on two different Proton accounts. Additionally, a similar error happens when I try to upload a file:

Could not verify the nodeKey was used for encrypting , contentKeyPacket

My question is: is this a user error, something that can be fixed with the current SDK or is a breaking change that requires a new SDK version to be published? Any additional information would be greatly appreciated.

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