403 Server failed to authenticate the request when trying to fetch the Dall-E img url

Hello guys, I am facing the ‘403’ error ‘Server failed to authenticate the request’ when I try to display the picture from Dall-E API to the user in a <img> I got that error in the console and the picture can’t be loaded. But when I try the same code on the local server it work correctly and on Netlify Server I got that error. Please help me to fix it.(it is required to get the response as url and not b64_json).

AFAIK, the images only stay on the Microsoft server an hour or so before they’re deleted. If you can’t use b64, you need to download the images from the URL and save locally.

HTH!