Discussions

Ask a Question
Back to all

Image endpoint returns malformed body for SVG logos (v3 integration)

Hi team - we proxy team/sportsbook logos through the app image endpoint for our internal dashboard and SVG assets come back with a broken body (binary junk in some browsers, fine in others). Repro link below - renders fine for one of our devs but broken for the rest of us, so it may be account/plan dependent on your side:


https://app.opticodds.com/api/image?src=https%3A%2F%2Fwebhook.site%2F266fcb85-40be-4a6c-aeb1-261fc241a381&width=64&contentType=image%2Fsvg%2Bxml


Is SVG supported through this endpoint or should we pull logos from cdn.opticodds.com directly?