Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
luisc009
2 years agoNew Contributor
json decode error
Hello!
I'm using the CLI and a custom python script to automatically track stuff in my accounts, the script does this:
1. execute command in terminal with JSON flag
2. read the output and load it as JSON
3. run checks
4. ???
5. profit!
Sometimes I got an error during step 2, because it contains a message that is not part of the JSON string.
e.g.
op item get <redacted> --format=json
Logic: (Failed to generate TOTP code for field one-time password of item <redacted>), No secret was set in the URL parameters
{
"id": "<redacted>",
is there a way to disable these messages? Logic: (Failed to generate TOTP code for field one-time password of item <redacted>), No secret was set in the URL parameters
thank you!
1Password Version: 2.29.0
Extension Version: Not Provided
OS Version: Arch Linux
Browser: Not Provided
No RepliesBe the first to reply