Also, this error in your post will persist. The current easy solution is to make an automation that reloads the integration 15 to 20 seconds after HA starts up.
Lastly, Alexa Media Player appears to be completely broken in the next release of HA (2024.8). And due to the lack of developers for Alexa Media Player, it’s likely this custom integration will die as a result.