Workflow could not be activated due to invalid timezone

Describe the problem/error/question

I can run my workflow, but when it comes to activating the workflow, there’s a timezone error.

What is the error message (if any)?

Please share your workflow

Here is my workflow.

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
{
  "nodes": [
    {
      "parameters": {
        "resource": "fileFolder",
        "returnAll": true,
        "filter": {
          "folderId": {
            "__rl": true,
            "value": "1GWzyStu7bchhJu2GzjUn7K-nJvTa-pzQ",
            "mode": "list",
            "cachedResultName": "___Laa-laa",
            "cachedResultUrl": "https://drive.google.com/drive/folders/1GWzyStu7bchhJu2GzjUn7K-nJvTa-pzQ"
          }
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        1420,
        0
      ],
      "id": "c93280ec-3ca1-48ec-9d6f-e5bef8f05265",
      "name": "Google Drive",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "ih0wjttDn2AVoFl3",
          "name": "Google Drive Laa-laa"
        }
      }
    },
    {
      "parameters": {
        "mode": "insert",
        "pineconeIndex": {
          "__rl": true,
          "value": "laalaan8n",
          "mode": "list",
          "cachedResultName": "laalaan8n"
        },
        "options": {
          "pineconeNamespace": "Laa-laa_2"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "typeVersion": 1,
      "position": [
        2000,
        0
      ],
      "id": "b79973aa-a2f7-47bc-bac8-deaece454728",
      "name": "Pinecone Vector Store",
      "alwaysOutputData": true,
      "credentials": {
        "pineconeApi": {
          "id": "7wnxt4oJWnMrBWVj",
          "name": "Laalaa PineconeApi "
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "typeVersion": 1.2,
      "position": [
        1820,
        240
      ],
      "id": "1d6a143d-c092-45fe-9235-5264bc0acd1b",
      "name": "Embeddings OpenAI",
      "credentials": {
        "openAiApi": {
          "id": "WNWMUv4ycf6wLDxF",
          "name": "Laalaa n8n"
        }
      }
    },
    {
      "parameters": {
        "dataType": "binary",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "typeVersion": 1,
      "position": [
        2020,
        240
      ],
      "id": "71be06b6-167f-43ba-88bc-6221fa2bcb36",
      "name": "Default Data Loader"
    },
    {
      "parameters": {
        "chunkSize": 500,
        "chunkOverlap": 20,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "typeVersion": 1,
      "position": [
        2020,
        400
      ],
      "id": "f325db99-6bc6-447a-abfb-6ff320d5848c",
      "name": "Recursive Character Text Splitter"
    },
    {
      "parameters": {
        "operation": "download",
        "fileId": {
          "__rl": true,
          "value": "={{ $json.id }}",
          "mode": "id"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        1620,
        0
      ],
      "id": "a80d6b1e-fd80-4457-bc5d-3460df03a690",
      "name": "Google Drive1",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "ih0wjttDn2AVoFl3",
          "name": "Google Drive Laa-laa"
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "n8n-nodes-base.splitInBatches",
      "typeVersion": 3,
      "position": [
        1840,
        0
      ],
      "id": "56ac01b1-87aa-4302-8000-95671ee0b98c",
      "name": "Loop Over Items"
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "value": "1GWzyStu7bchhJu2GzjUn7K-nJvTa-pzQ",
          "mode": "list",
          "cachedResultName": "___Laa-laa",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1GWzyStu7bchhJu2GzjUn7K-nJvTa-pzQ"
        },
        "event": "fileUpdated",
        "options": {}
      },
      "type": "n8n-nodes-base.googleDriveTrigger",
      "typeVersion": 1,
      "position": [
        1220,
        0
      ],
      "id": "65e2eccf-ee91-45dc-95e9-d61c0cb186d2",
      "name": "Google Drive Trigger",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "ih0wjttDn2AVoFl3",
          "name": "Google Drive Laa-laa"
        }
      }
    }
  ],
  "connections": {
    "Google Drive": {
      "main": [
        [
          {
            "node": "Google Drive1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Pinecone Vector Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "87904629d0f1ee2c5d1328888f3b16390397d9cc13939f91486af7d14556c46c"
  }
}

Share the output returned by the last node

Information on your n8n setup

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

Hi @CUBEevo_AD

You probably set the timezone of your n8n server to UTC or something similar, this is not correct so it gives you the error that it is invalid. You will need to set the Timezone to something like Europe/London for example.
If you share your ENV variables we can have a look and be more specific. You can also set it in the workflow settings (top right 3 dots-> settings to open those)
image

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.