getPlayer fails error with binding version 3.3.0

Hello,
I am having the following error message with AmazonEchoControl binding version 3.3.0:

22:36:05.517 [INFO ] [ocontrol.internal.handler.EchoHandler] - getPlayer fails
org.openhab.binding.amazonechocontrol.internal.HttpException: GET url 'https://alexa.amazon.fr/api/np/player?deviceSerialNumber=G090QU06821401T8&deviceType=A7WXQPH584YP&screenWidth=1440' failed: Internal Server Error

I noticed that the HTTP request has a screenWidth parameter whereas the device is an Echo Dot Gen2.

From a web browser:

  • https://alexa.amazon.fr/api/np/player?deviceSerialNumber=G090QU06821401T8&deviceType=A7WXQPH584YP&screenWidth=1440, returns <InternalFailure/> which shows that the syntax is incorrect,

  • https://alexa.amazon.fr/api/np/player?deviceSerialNumber=G090QU06821401T8&deviceType=A7WXQPH584YP, returns {"message":null} which seems to be a valid syntax.

Any bug or anything I am doing wrong?

@J-N-K is it related to this Can turn Alexa on but not off via openhab - #4 by J-N-K ?

Yes and no. All endpoints with /api/np were broken and seem to have been fixed by Amazon yesterday.

The getPlayer is special in any case: if you didn‘t play music for some time, the player queue is empty and you‘ll always get a 500 response.