OneDrive Node for downloading a file

I used the OneDrive node to download a file from My OneDrive folder using the fileID that is received as an input from the previous node. But I systematically get the following error:

400 - {“error”:{“code”:“invalidRequest”,“message”:“Invalid request”,“innerError”:{“date”:“2023-12-24T22:07:04”,“request-id”:“f1055f00-b248-45ae-b8f0-ab8427185d34”,“client-request-id”:“f1055f00-b248-45ae-b8f0-ab8427185d34”}}} - Invalid request

Share the output returned by the last node

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:

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

How “old” is the file you want to download?
Was it just created/updated/… on Onedrive, or did it exist for longer than ~30 seconds.

In my experience Onedrive is super slow to update their indices (or whatever).

For example, if I create a new folder in one node, and try to access that folder in the next node, it will fail unless i add a wait-node in between.

1 Like