Management Api Returned Status Code 405 Error