1 ### Please describe the problem.
3 [Originally blamed datalad](https://github.com/datalad/datalad/issues/3685#issuecomment-533075845) but apparently `git annex add --json` does not include error message in the json output. In our case it was due to permission issues.
7 $ git annex add more --json
8 more: setFileMode: permission denied (Operation not permitted)
9 {"command":"add","success":false,"file":"more"}
10 git-annex: add: 1 failed
15 [[!tag projects/repronim]]
16 [[!meta project=repronim]]
18 > If you use --json-error-messages it does work, at least in this
19 > permissions error case. So nothing more needs to be [[done]]. --[[Joey]]