[OneDrive] Can't upload CSV to folder

I created a workflow to identify an image which is downloaded from OneDrive and OpenAI will provide title and keywords to describe the image. These title and keywords will be saved to csv and upload it back to one drive in the same folder. Why is this happening? Please advise.

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:

n8n version: 1.44.1
Database : N/A
n8n EXECUTIONS_PROCESS setting: own
Running n8n via docker.
OS : Ubuntu 22.04

Hi @jkpraja

Thanks for posting here and welcome to the community! :cupcake:

This looks like it’s related to your OneDrive account, since you are getting Access Denied .
Have you checked that your credentials are correct to access the OneDrive Account? You may also want to contact the Admin for that account to make sure you have access rights.

Thanks for your response.


I believe I already set the permissions to read write.

hello @jkpraja

That’s not the full list. You’ll need OneDrive resource permissions for that

Thanks!

I followed what your link says.

But it still didn’t work. Any help appreciated.

Thanks!

Regards,

Well, as I see in the code, it requires some more permissions:
openid offline_access Files.ReadWrite.All

Hi Mikhail,

It’s still the same.

I tried to add everything… LOL

I see that you have added them, but are they approved?

And is the folder, in which you are trying to upload file, belongs to the same tenant?

Hi Mikhail,

How can I see whether it’s approved or not? Sorry I don’t have experience in Azure things.

Regards,

You can see it in the right part of the table (like as it’s on my screen, status column)

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