Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Access denied due to missing subscription key. Make sure to include subscriptionkey when api request

Laxmi2024
Tera Contributor

I am trying to get Access token through APIM  from third party and have mentioned everything in headers for subscription key, still receiving 401 with this message" Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API."

6 REPLIES 6

Not applicable

Hi @Laxmi2024 ,

 

Did you pass the subscription key as a header parameter in your message ? please share screenshot of code which you tried. 

 

i hope this helps..

I did try the attached. and here is the error.

 

Laxmi2024_0-1709449298799.png

 

Not applicable

which tool  ? APIM

 

can you brief which tool your trying , APIM ?...

Yes, its APIM, I am talking to Third party system via APIM from servicenow, so servicenow calls API's in APIM , Azure,and the Azure APIM Api's are configured with third party API calls.