Unable to paste plain text, file path, or anything in Codex CLI V0.81.0

Resolved 💬 5 comments Opened Jan 15, 2026 by Jahrome907 Closed Jan 16, 2026
💡 Likely answer: A maintainer (joshka-oai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

_ OpenAI Codex (v0.81.0)

What subscription do you have?

Pro

Which model were you using?

5.2 Codex High

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

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

VSCode - Powershell Terminal

What issue are you seeing?

■ Failed to paste image: no image on clipboard: The clipboard contents were not available in the requested format or the clipboard is
empty.. Try saving the image to a file and pasting the file path instead.

This error occurred when I attempted to copy & paste a prompt generated by CoPilot Chat Model Claude Opus 4.5 into the Codex CLI. I tried several troubleshooting steps, including pasting the text into Notepad first to scrub formatting, pasting a file path to the prompt file, and even pasting the simple text 'Hello World.' All attempts to paste input into the CLI failed.

What steps can reproduce the bug?

Uploaded thread: 019bc291-62fe-7833-9d9d-2c291c96d688

Launch the Codex CLI (v0.81.0) in the VSCode PowerShell terminal.

Copy copied text from say CoPilot Chat (Opus 4.5 Model)

Attempt to paste the clipboard content into the CLI input field.

Observe that the paste action fails and produces the error regarding missing image data.

What is the expected behavior?

The text copied to the clipboard should successfully paste into the command line input, allowing the user to edit or submit the prompt to Codex.

Additional information

Clipboard Misinterpretation: The error message ("Failed to paste image: no image on clipboard") suggests the CLI might be incorrectly anticipating image data instead of plain text.

Troubleshooting Attempted: Verified that the issue persists regardless of the text source (browser vs. Notepad) or content (complex prompt vs. simple string).

Environment: Windows 11 (Build 26200) running VSCode.

View original on GitHub ↗

5 Comments

joshka-oai contributor · 7 months ago

Seems like this is probably related to https://github.com/openai/codex/pull/9049

etraut-openai contributor · 7 months ago

Thanks for the bug report. This will be fixed in the next release.

meowdiocre · 5 months ago
Thanks for the bug report. This will be fixed in the next release.

does it get fixed? i get this bug in v0.114.0

etraut-openai contributor · 5 months ago

@devirtz, yes, this bug was fixed. If you're seeing similar symptoms in the latest version of the CLI and suspect it's a bug, please file a new bug report and provide the requested details in the bug template.

message · 1 month ago

<img width="1921" height="605" alt="Image" src="https://github.com/user-attachments/assets/0b9b189f-47af-45a7-838b-dd54880ff914" />

@etraut-openai Ctrl + V gives me this error, even though my clipboard is not empty and it contains only text. Is this expected? I'm new to codex.