Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tim 168 posts 372 karma points
    Oct 22, 2013 @ 23:35
    Tim
    0

    WebAPI returning 403 Forbidden

    I've been playing with the example WebAPI at http://our.umbraco.org/documentation/reference/webapi/ but I'm getting a response of 403 regardless of what I do.

    Any idea what I'm doing wrong?

  • Tim 168 posts 372 karma points
    Oct 23, 2013 @ 12:07
    Tim
    101

    Not sure why I can't delete this but basically we had restricted IP's and I was on an IP that wasn't allowed.

     

    User error :) 

  • Glenn 28 posts 101 karma points
    Mar 19, 2014 @ 21:01
    Glenn
    0

    I have to be honest, Thanks soooo much for leaving the post out there. I was having a major problem when deploying a new site to production. Worked perfectly on staging, but on live it was failing on all ajax requests. This had me baffled, but then I came across your post. As a security measure I lock down the Umbraco folder by IP range, to our internal IP Ranges. Unknowingly I had then also blocked the Ajax requests to the WebApi. In my opinion it does not make sense that these public Api's are located in the Umbraco folder. But at least the issue is solved for now. 

    Thanks again, 

     

Please Sign in or register to post replies

Write your reply to:

Draft