{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigbwqxzagqp7iiksbtldtqmh6yfo4wehi46mgzcprozffn2wndufe",
"uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mnkmaiaarne2"
},
"path": "/t/getting-error-code-400-on-both-vision-and-pdf-base64-input-response-api/1382707#post_8",
"publishedAt": "2026-06-05T16:53:42.000Z",
"site": "https://community.openai.com",
"textContent": "A 400 will also have an error message associated with it. For example, a wrong message construction:\n\n— ERROR: gpt-5.5: Error code: 400 - {‘error’: {‘message’: “Invalid type for ‘input[0].content[0]’: expected an object, but got a string instead.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘input[0].content[0]’, ‘code’: ‘invalid_type’}}\n\nWhat’s yours?\n\nYou can try `store:false` and see if they will go. Maybe OpenAI doesn’t want to be in the business of keeping your 4MB x every request you make, forever?",
"title": "Getting error code 400 on both Vision and PDF base64 input - Response API"
}