Expected a base64-encoded data URL with an image MIME type

Open 💬 2 comments Opened Jul 10, 2026 by MeijeSibbel

What version of Codex CLI is running?

codex-cli 0.144.0

What subscription do you have?

Pro

Which model were you using?

ALL

What platform is your computer?

Darwin 25.4.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

cmux 0.64.17

Codex doctor report

What issue are you seeing?

322 )
323 + if mask_bundle is not None:
324 + log("[stage] rsync validated structure mask bundle")
325 + self._run(
326 + self.rsync_structure_masks_cmd(spec, mask_bundle),
327 + log,
328 + timeout=7200,
329 + )
330

• Context compacted

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

• I’m resuming the A2 wiring from the reviewed core. I’ll first reconcile the branch, inbox, and reservations, then finish the mask gate test-first and send the resulting wiring commit back to CrimsonCliff for
line review.

■ {
"error": {
"message": "Invalid 'input[120].content[4].image_url'. Expected a base64-encoded data URL with an image MIME type (e.g. 'data:image/png;base64,aW1nIGJ5dGVzIGhlcmU='), but got an invalid base64-encoded
value.",
"type": "invalid_request_error",
"param": "input[120].content[4].image_url",
"code": "invalid_value"
}
}

› please continue

■ {
"error": {
"message": "Invalid 'input[120].content[4].image_url'. Expected a base64-encoded data URL with an image MIME type (e.g. 'data:image/png;base64,aW1nIGJ5dGVzIGhlcmU='), but got an invalid base64-encoded
value.",
"type": "invalid_request_error",
"param": "input[120].content[4].image_url",
"code": "invalid_value"
}
}

› check

■ {
"error": {
"message": "Invalid 'input[120].content[4].image_url'. Expected a base64-encoded data URL with an image MIME type (e.g. 'data:image/png;base64,aW1nIGJ5dGVzIGhlcmU='), but got an invalid base64-encoded
value.",
"type": "invalid_request_error",
"param": "input[120].content[4].image_url",
"code": "invalid_value"
}
}

• Feedback uploaded. Please open an issue using the following URL:

https://github.com/openai/codex/issues/new?template=3-cli.yml&steps=Uploaded%20thread:%20019f0b31-3619-7b21-afdc-6e9945aab48b

Or mention your thread ID 019f0b31-3619-7b21-afdc-6e9945aab48b in an existing issue.

› codex --version

■ {
"error": {
"message": "Invalid 'input[120].content[4].image_url'. Expected a base64-encoded data URL with an image MIME type (e.g. 'data:image/png;base64,aW1nIGJ5dGVzIGhlcmU='), but got an invalid base64-encoded
value.",
"type": "invalid_request_error",
"param": "input[120].content[4].image_url",
"code": "invalid_value"
}
}

› codex doctor --json

■ {
"error": {
"message": "Invalid 'input[120].content[4].image_url'. Expected a base64-encoded data URL with an image MIME type (e.g. 'data:image/png;base64,aW1nIGJ5dGVzIGhlcmU='), but got an invalid base64-encoded
value.",
"type": "invalid_request_error",
"param": "input[120].content[4].image_url",
"code": "invalid_value"
}
}

› Improve documentation in @filename

gpt-5.6-sol ultra · ~

What steps can reproduce the bug?

Uploaded thread: 019f0b31-3619-7b21-afdc-6e9945aab48b

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗