Remove check for is_success on the call subroutine so that http 400 and 500 errors are returned.