Search code examples
ember.jscoldfusionxmlhttprequestember-dataput

Recieving 403 Forbidden on PUT Request EmberJS


What would be the cause of receiving a 403 Forbidden request as a result of a PUT request in an emberjs app? In my Ember App, users are logged in with their kerberos credentials and they have the ability to update a record if needed, but when this is done, a 403 response is incurred. I am not sure how to handle this. Has anyone else ran into an issue where they have tried updating a record, but received a 403? This also breaks the persistence between the different routes I have setup. When users try to go back to the index route to view all records, the only that shows up is the record that was trying to be updated.


Solution

  • You are PUTting a file and the authentication is wrong so the request is rejected.

    Check your authentication; also see http://www.embercasts.com/ for some tutorials on EmberJS authentication.