Hi @WenxueJu
Thank you very much for your response. I followed up with your recommendation and further investigation has allowed me to resolve the previous error but led me to another issue.
I no longer get the error. To solve this, I was able to pass through the mediatype parameter as part of the URL (?Mediatype=multipart/related). This returns a multipart response, however although there are no errors to report from the API the image is not rendered on the map.
I am actually not sure why the image does not render as there are no error flags being produced. I am wondering if this may be due to the API not being able to parse the XML properly?
I included an updated html for review.
Any thoughts?
Thanks.