Response parameters are now passed correctly to success and error callbacks on promise