Test API errors with async Dispatch client