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.

UnhandledPromiseRejectionWarning: GotError: Invalid character in header content ["authorization"] #12

@Utopiah

Description

@Utopiah

Hi, I used the project in June, no problem. I tried the same code base today and it didn't work. I was wondering if somehow my device token had expired so I tried with a new one, same error. I send then re-register and run solely the code example to refreshToken and I get the GotError: Invalid character in header content ["authorization"].

To make sure somehow I didn't load the deviceToken incorrectly I tried Remarkable({deviceToken:'randomstring'}) but then get HTTPError: Response code 401 (Unauthorized).

I'm wondering if something in their API response changed?

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