Gpt-4o not reading images

Currently trying to create an app on Xcode. Sending images to gpt-4o which worked at the start (it could explain the image) however now randomly it’s saying that it can no longer read images. Not sure why?

Here’s my code showing what model I’m using and the messages I send it.

        let base64ImageString = imageData.base64EncodedString()

        let prompt = """
        Tell me what you see. 
        """

        let parameters: [String: Any] = [
            "model": "gpt-4o",
            "messages": [
                ["role": "user", "content": prompt],
                ["role": "user", "content": "Here is the menu image: data:image/jpeg;base64,\(base64ImageString)"]
            ],
            "max_tokens": 200
        ]