Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoFailed to create item: invalid JSON
Hi Team,
We've been using the 1Password CLI for quite some time, but are now trying to switch to CLIv2
In doing that, we've discovered some really odd behaviour, making it impossible for us to cr...
Former Member
4 years agoHey,
From what I understood it seemed like the 2.4 version should have fixed this issue but now it seems like the following command just hangs,
```
import {execa} from 'execa'
const res = await execa(
'op',
[
'item',
'create',
'--category',
'Password',
'--title',
title,
'--generate-password=letters,digits,symbols,32',
'--format',
'json',
],
{env: {OP_SESSION_org: sessionId}},
)
```
seems like nothing returns from the command via stdout