reMarkable-typescript
reMarkable-typescript copied to clipboard
UnhandledPromiseRejectionWarning: GotError: Invalid character in header content ["authorization"]
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?