Image file URL from Feathery upload doesn't work with GPT-4 vision

This appears to be an issue with the URL type that images are stored under from the feathery form. But I am not able to upload it to GPT-4 vision API. Other urls work but one like this doesn’t:

What error are you seeing from GPT-4?

‘invalid image’ error

Looks like this is a known issue with the gpt4-vision endpoint GPT-4-Vision Error - BadRequestError: 400 Invalid image - #2 by _j - API - OpenAI Developer Forum

Certain URLs will error due to potentially the URL encoding because of a gpt4 bug. The suggested idea is to download the image first and encode it as base64, then pass it to openai. Here’s the openai example of how to do that: