I am merging this but we need to investigate why we are getting a 405 which means method not allowed. It should have been a 401/404