Skip to main content
Jul 13, 2026 3:02 PM UTC
Question

GitHub action 1password/install-cli-action broken with latest 1P CLI update

It seems a very recent 1P CLI update broke the official GitHub action ` 1password/install-cli-action@8d006a0d0a4fd505af7f7ce589e7f768385ff5e4` when we don’t pin an explicit version of 1P (i.e. use “latest”).

 

Here is the error message:

 

Run 1password/install-cli-action@8d006a0d0a4fd505af7f7ce589e7f768385ff5e4

Validating version number: 'latest'

Version number 'latest' is valid

Resolving version: latest

Getting latest version number

error: SyntaxError: Unexpected end of JSON input

Error: Unexpected end of JSON input

at JSON.parse (<anonymous>)

at parseJSONFromBytes (node:internal/deps/undici/undici:4337:19)

at successSteps (node:internal/deps/undici/undici:6985:27)

at readAllBytes (node:internal/deps/undici/undici:5908:13)

at process.processTicksAndRejections (node:internal/process/task_queues:104:5)

3 replies

afrischAuthor
Jul 13, 2026 3:07 PM UTC

Pinning to version 2.34.1 fixes the GHA problem.

 

Btw, I wanted to get release notes for 1P CLI, but the Release Notes link from https://www.1password.dev/cli is broken (= https://app-updates.agilebits.com/product_history/CLI2 gives HTTP ERROR 503).

afrischAuthor
Jul 13, 2026 3:56 PM UTC

Cf https://github.com/1Password/install-cli-action/issues/42  Apparently, it was a transient problem, fixed by now.

 

 

1P_Gem
1Password Alum
Jul 16, 2026 9:46 AM UTC

Hi ​@afrisch, thanks for the detailed report and for sharing the method you used to work around the issue. I’m glad to hear that all is now working again.