Added check for real service return code