I'm currently working on integrating ServiceNow with PagerDuty using the REST API. While testing the incident update (status change to "acknowledged") via Postman, I'm encountering the following error response:
My API details and headers are correct. I used the same call from the PagerDuty REST Explorer; there, the integration is working fine.
The illegitimate_requester_error you’re getting usually means the user making the API call isn’t authorized to update the incident, even if your API key and headers look correct. Here are a few things you can check:
Make sure your request includes the From header, set to the email address of a valid PagerDuty user who has permission to update the incident.
The user in the From header should be assigned to the incident or have the right to acknowledge it.
Double-check that your API key is a REST API key with the right permissions.
The REST API Explorer might use your logged-in user context, so make sure you’re explicitly setting all headers in Postman.
Please let me know if any of these are helpful, and have a nice day!
The illegitimate_requester_error you’re getting usually means the user making the API call isn’t authorized to update the incident, even if your API key and headers look correct. Here are a few things you can check:
Make sure your request includes the From header, set to the email address of a valid PagerDuty user who has permission to update the incident.
The user in the From header should be assigned to the incident or have the right to acknowledge it.
Double-check that your API key is a REST API key with the right permissions.
The REST API Explorer might use your logged-in user context, so make sure you’re explicitly setting all headers in Postman.
Please let me know if any of these are helpful, and have a nice day!