use correct nitro err api