@Nathan Given Thank you for posting your question.
I see that you are using REST API to get Recovery Services Vault Security PIN and being greeted with an error message.
The error message that you are receiving indicates that there is an issue with the input that you are providing to the API. Here are some things that you can check to resolve the issue:
- Make sure that you are using the correct values for the placeholders in the URL. Double-check the subscription ID, resource group name, and vault name to ensure that they are correct.
- Make sure that you have the necessary permissions to access the resource. Check that your client ID has the appropriate permissions to access the Recovery Services vault.
- Check that the API version that you are using is correct. The API version that you are using is 2023-02-01. Make sure that this is the correct version for the API that you are using.
- Try using a different tool or method to access the API. For example, you can try using Azure PowerShell to access the API and see if you get the same error message.
Hope this helps!
If the response helped, do "Accept Answer" and up-vote it