clockify-cli: Edit sub command returns 403 in v0.23.0
It seems that the description option no longer works with newlines in the string.
> clockify-cli version
Version: 0.23.0, Commit: 7c3e9c4d907b22e018bad8c7811699c55de46821, Build At: 2021-09-17T00:08:29Z
> clockify-cli edit current --description "Line one
Line two"
EOF
> echo $?
1
No other error message, and nothing is updated in clockify.
Please let me know if you would like any more information from me to help with this. I can try and take a look and maybe submit a PR, but wanted to raise the issue, first–in case I’m missing something. Thanks!
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (17 by maintainers)
@zerodahero thank you for updating me.
Just heard back from Clockify–they just released the patch for this bug this morning. Everything seems to be working well for me now (no more 403s), so I don’t think there’s anything further to do here!
Quick update: they’ve escalated the issue to their dev team to investigate further.
In the meantime, the cli works as expected, with the exception that it isn’t able to display the modified entry after modification. So any “edit” call for me is successful in the modification (on Clockify), but the result of the command will show the 403.
I’ll update here with any more info from Clockify.
lets keep it open then, so if anyone else see this problem they can follow this issue.
i think is a good patch for now, can you send a pr with it @zerodahero ?
if you use the time-entry id manually it should work