I'm trying to create an audio player skill but when trying to play an audio, I keep getting the error MEDIA_ERROR_UNKNOWN - Setting up renderers for an unknown media type: UNDEFINED
What I was able to find out so far is that the URL I pass to play directive is an URL that redirects (with status code 302). With that it fails with the error stated above. When using directly the final URL (caught manually in the dev tools in Chrome), the one to which it should redirect anyways, it succeeds.
To be honest, I do not get it since a redirect is a standard and it of course works very well in browsers and everywhere - literally every tool these days follows redirects. But not Alexa?
Of course, the solution could be to go directly to the final URL if only I had it before hands. All my skill has is the original URL, the one that does the redirect.
So the question is. Could this really be caused by the redirect, or is there anything else I might have a look into...