QRCode

FREEMIUM
Verified
By LinQR | Updated 2 months ago | Tools
Popularity

9.7 / 10

Latency

378ms

Service Level

100%

Health Check

100%

Back to All Discussions

External image (Azure blob) seeing as octet stream when type is image!

Rapid account: Ahmedilyas 2022
ahmedilyas2022
2 years ago

Hi all.
I am using the API To obtain an image from an external URL.
I get an error back saying:

Result: “{“detail”:“Detected external requested image mimetype \“application/octet-stream\” is invalid. Expected values are: (image/svg+xml, image/jpeg, image/png, image/gif)”}”

However the blob storage (Azure) where I am uploading the image to - it’s content type is set to image/png and I can see it serve correctly in the browser.

What can be done about this? How can I provide an external URL (hosted in Azure blob storage) to the API so it can render the image?

Rapid account: Kubasaw
kubasaw Commented 2 years ago

Hello,

I have looked at the error logs on our backend and have some solutions to help you. However, due to the fact that they may contain private data, I am sending additional details in a private message. Take a look at your RapidAPI inbox and let us know if we can help any more.

Regards,
Kuba Sawulski from LinQR

Join in the discussion - add comment below:

Login / Signup to post new comments