Oracle Solution for Error ora-00295

ORA-00295: datafile/tempfile number string is invalid, must be between 1 and string

What triggered the Error:

An invalid file number was specified.

What should we do to fix it:

Specify a valid datafile or tempfile number and retry the operation.