All Oracle Error CodesOracle DBA Forum

NID-00140:

Specified database name string does not match previous name used string
Cause: This is a continuation of a failed attempt. However in the failed attempt, the database name is different than the one used in the last attempt.
Action: Retry the command using the original database name.