Unable to paste plain text, file path, or anything in Codex CLI V0.81.0
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.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗