The error number 1 is used at least for two different errors:
1 - Access is denied
When creating a folder that already exists.
1 - jsexception.folder.not.found
When modifying a report and a supplied parent folder does not exist.
This is confusing. If you change this, please make a remark in the release notes.