You’re right, thanks! It was an issue with curl truncating the base64 string.
risafj
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Error Including Files with base64? | 4 | 221 | March 25, 2026 | |
| File Input API throws error for PDF file which is Base64-encoded | 9 | 2254 | April 8, 2025 | |
| Issues with including base64 PDF files in prompt via PHP SDK | 0 | 276 | May 29, 2025 | |
| Issue with Native PDF input (Base64) in gpt-4o - Error: invalid 'input[0].content[1].file_data' | 1 | 87 | March 27, 2026 | |
| Cannot use uploaded file with responses api | 2 | 798 | October 2, 2025 |