If you encounter unexpected behavior when executing SnapCenter REST APIs, you can use the log files to identify the cause and resolve the problem.
You can download the log files from the SnapCenter user interface by clicking .
File restore API gives error 400
Error 400 is displayed when restoring a file using the /2.0/plugins/SP/resources/{key}/restorefile API.
Corrective actions
- Use escape characters (\\) when providing a source path in Swagger. For example: \\\\vol1\\path1\\path2.
- Use escape characters (\\) when providing the domain and user name for API login authentication. For example: domain\\username
- Use escape characters (\\) when providing the user credentials for the local account. For example: localhost\\username