You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.xAXIOS_RETRIES_LEFT_HEADER_NAMEAXIOS_RETRIES_LEFT_HEADER_NAME = "x-retries-left"