Oracle Error OCI-22285: non-existent directory or file for string operation

Oracle Error Message

OCI-22285: non-existent directory or file for string operation

Reason for the Error

Attempted to access a directory that does not exist, or attempted to access a file in a directory that does not exist.

Solution

Ensure that a system object corresponding to the specified directory exists in the database dictionary, or make sure the name is correct.