reMarkable-typescript icon indicating copy to clipboard operation
reMarkable-typescript copied to clipboard

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

Open Utopiah opened this issue 5 years ago • 0 comments

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?

Utopiah avatar Oct 28 '20 21:10 Utopiah