403 Forbidden When Accessing Kentico RESP API

Gopala Padibandla asked on April 29, 2016 03:06

Hi there, I am using Kentico V9. I was trying to connect to REST API from .NET console app. I am getting 403 Forbidden.I had a look around about the error but no luck.


  1. Website is hosted in Azure
  2. Using HttpClient to talk to REST API
  3. Basic Authentication and user is Global Administrator
  4. Followed steps mentioned in documentation https://docs.kentico.com/display/K9/Kentico+REST+service

Any help regarding this issue highly appreciated.



Correct Answer

Gopala Padibandla answered on April 29, 2016 03:53

Thanks for your quick reply Roman. I got all the settings right. I figured it out I got the object type wrong. Its all good now.

0 votesVote for this answer Unmark Correct answer

Recent Answers

Roman Hutnyk answered on April 29, 2016 03:47

You can't get forbidden for Global Admin.

Make sure:

  • runAllManagedModulesForAllRequests="true" in web.config
  • Rest is enabled and uses basic authentication
  • you pass correct authorization header within your request
3 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.