-25021: Error switching connected user to <user_name> : <error_text>

Explanation:

An error has occurred with either the EXPORT DB or IMPORT DB Loader command.

When exporting or importing data with the corresponding command, the Loader must switch the database user internally so it can process user-specific data. This internal changeover failed.

User Response:

Fix the cause of the error and re-execute the command.