Getting error "The API version "5.4.296" does not match the Worker version "5.3.31" at Default Data Loaded added for 'Pinecone Vector Store'

For loading data to Pinecone, I have a ‘Pinecone Vecotor Store’ for which I have added a ‘Default Data Loaded’. When I try to load data to Pincecone I get above error message. Any Idea what the issue could be?

Describe the problem/error/question

For loading data to Pinecone, I have a ‘Pinecone Vecotor Store’ for which I have added a ‘Default Data Loaded’. When I try to load data to Pincecone I get above error message. Any Idea what the issue could be?

Please share your workflow

Share the output returned by the last node

The API version “5.4.296” does not match the Worker version “5.3.31”.

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

@subroto thats not your pinecone config, its n8ns bundled pdf.js. the default data loader parses your pdf with pdf.js and on recent builds its api (5.4.296) and worker (5.3.31) are mismatched, so any pdf throws this. known n8n bug, hits self-hosted and cloud both. til its patched, pull the pdf text out before the loader (an http request to a pdf-to-text api, or your own parser) and set the loaders type of data to text, that sidesteps the broken pdf.js.

This error means your n8n main process (5.4.296) and your Worker process (5.3.31) are running different versions of n8n. The Worker is one minor version behind.

Why it happens:
In a Docker Compose setup with a separate worker container, each service pulls its own image. If you ran docker compose pull && docker compose up -d but only the main service updated (or the worker container was not restarted), they end up on different versions.

Fix:

  1. Check which containers are running and their images:
docker compose ps
docker inspect <worker-container-name> | grep Image
  1. Pull the latest image for all services and restart:
docker compose pull
docker compose down
docker compose up -d
  1. Verify both are now on the same version:
docker compose exec n8n n8n --version
docker compose exec n8n-worker n8n --version

Prevention: Pin both n8n and n8n-worker services in your Compose file to the same explicit image tag (e.g. n8nio/n8n:1.91.0) rather than latest. That way both containers always run identical code.

Let me know if you need help locating your worker container name!