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: https://user-files-1.s3.amazonaws.com/fa677f87-d86e-411a-9181-8d5f0a8da68b/e0a144af-efd6-450f-9942-e69cfa62cde6/2023-12-03T20%3A59%3A35.086964%2B00%3A00/IMG_3960.png?AWSAccessKeyId=AKIA2XJIO5K4KZDODR36&Signature=QbYDzMQikZOF4SXG3EMfBM83oV4%3D&Expires=1702242014

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: https://platform.openai.com/docs/guides/vision/uploading-base-64-encoded-images