Errorcode 2 too now.. (in Addition to Errorcode 4).. Database // Writing Rights...
After having troubles with errorcode 4 since CC17 and High Sierra, now Errorcode 2 enters the stage :(.
First Symptoms: If you are working on a document and you have to re-save it under different names, e.g. you are working with a kind of template and have to import assets and save the INDD files... you always stay in the folder of the file after using "save as" ... but in this case the Indesign points to something like "documents" or another default folder after clicking "save as".
After that i am not able to save the files or load others, because of Error 2 (I don't have the right to save at this (any) location..) or data is wrong.