Solved

API Key error access denied

  • 5 December 2022
  • 2 replies
  • 583 views

Userlevel 6
Badge +10

Noticed on November release notes that they are depreciating Basic Authentication in the web requests.

I’ve tried to move over to API Key but am getting an error.

Is anyone else getting this

 

icon

Best answer by zachary.king 5 December 2022, 18:02

View original

2 replies

Userlevel 7
Badge +16

Hello @afautley, I think that deprecation simply removes the ability to make API requests for freshservice using username and password through basic auth. But you should still be able to use “Basic Auth” as the authorization type and pass your API key as the username and “x” as the password. Seems really backwards to me though and hopefully a few of the engineers can explain why it is set up this way still.

You of course can use API as the authorization method for third party applications. Not sure why Freshservice hasn’t switched to that type of Authorization header.

Has me spinning as well 🤔

Userlevel 6
Badge +10

Thanks Zach, appreciate the info, got worried i was going to have to change all our Web requests again!

Reply