I’m hoping you can assist me with an issue I’m having with the Management API with regards to sending a verification email. I am able to get the following code in curl to work but in Postman, I’m getting an error that I cannot resolve.
But in Postman (and PL/SQL), using the exact same parameters, I’m getting the following error:
{
“statusCode”: 400,
“error”: “Bad Request”,
“message”: “Path validation error: ‘String does not match pattern ^job_[A-Za-z0-9]{16}$: verification-email’ on property id (ID of the job).”,
“errorCode”: “invalid_uri”
}
May I ask if you are using the right api token or domain inside Postman? If so, what are the settings used for the email verification job inside postman?
Thanks for your response. The token is the same as used in the other API endpoints for the management API and if I don’t have a correct one, I get a 401 error, so I don’t think that is the issue.
I noticed that you used extra ‘{’ brackets so I tried that as well but am still getting the 400 error. I am using a raw body with {“user_id”:“auth0|681282b187b33ccc37385da8”,“client_id”:“ItMejeJxtdcUjogBFh0vxvCbCoUf3QYD”}.
All of my other management API calls are working perfectly, it’s only this one that is giving me trouble. Note that all of my API’s are ultimately coded in Oracle PL/SQL but Postman is giving the exact same error response as PL/SQL so I use that as the test.