nn::fs::ResultVerificationFailed Classclass ResultVerificationFailed
Either verification failed or some form of tampering was detected.
This error indicates that the target archive or file has been tampered with.
However, this error can also be returned if a file has been corrupted for some other reason: for example, if a card was removed or the system was turned off while the file was being written. (With save data, such situations do not occur when automatic redundancy is enabled.)
This error can also be returned if a newly created region is loaded before it has ever been written to. Be aware of this after you have created a file with nn::fs::TryCreateFile and then increased its size with nn::fs::FileStream::TrySetSize, or performed a similar operation.
Also, note that if you delete a file and then immediately create a file (or create and increase its size), loading that region will succeed and what gets loaded might possibly be the data from the prior, deleted file. In other words, this error will not necessarily be returned.
CONFIDENTIAL