Seite 1 von 1

[V 3.4.3] Bearer token truncated at 255 characters? (WD-2224)

Verfasst: Do Aug 04, 2022 11:15 am
von tark1
I am trying to set up an HTTP API connection with Husqvarna Automower in TW (v 3.4.3), and keep getting authentication errors, at the same time everything is working properly using the same credentials in Postman.

After some investigation it seems to me that the full token (938 characters in this case) is not passed on in the request and only the first 255 characters are, at least it seems so in the TW GUI - see screenshot below.

Is there a way to see the full headers of the request so that I could confirm my concern?

Bild

Re: Bearer token truncated at 255 characters?

Verfasst: Do Aug 04, 2022 12:25 pm
von bondt
Hi @tark1,

Thanks for your message and documentation.

We have not come across any headers surpassing 255 characters in our test, but when trying to reproduce this, I can say that only the first 255 characters are being received by the receiver.

I've marked this topic as confirmed bug and assigned it WD-2224.

Re: Bearer token truncated at 255 characters? (WD-2224)

Verfasst: Do Aug 04, 2022 5:12 pm
von gbglace
@tark1
Could you please add the TWS Software Version installed on your TWS?

Re: [V 3.4.3] Bearer token truncated at 255 characters? (WD-2224)

Verfasst: Mo Aug 22, 2022 11:39 am
von ms20de
Fixed in current version V 3.4.5 respectively RC 8.

Best regards,
Matthias

Re: [V 3.4.3] Bearer token truncated at 255 characters? (WD-2224)

Verfasst: Mo Aug 22, 2022 1:18 pm
von Parsley
Just like everybody has to add the version in the topic it would make sense to write „fixed in [V x.y.z]“. Or does it?