Skip to main content
Nintex Community Menu Bar
Solved

Sharepoint Online - Get a File action problem


Forum|alt.badge.img+2

We have created Sharepoint online connection with the necessary permissions.

Quering a list etc. works fine but when I try to use the get a file action. I encounter the following error.

Received an error response from the connector: {"message":"[SP.ATH.Forbidden] Error Downloading file contents for filename 'blanko.xlsx' for the site 'redacted'. Check your connection credentials has the necessary permissions for the site in SharePoint. Details: 403 Forbidden, Attempted to perform an unauthorized operation.","correlationId":"0351c111-13c7-47b8-9272-0e264ba9f7d2","code":null}

Best answer by awillemsen

Hi @MillaZ,

yes and no. I didn’t get it to work for the specific Website.

It was probably some kind permission issue on our side.

After creating a fresh SharePoint Online Site and List it just worked.

View original
Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • October 6, 2024

Hi @awillemsen,

Welcome to the community.

I could be wrong but are you using the Get a File action to download an attachment from an item?
This action is only for Document libraries.
If so, You will need to use the Get attachment names action instead.
https://help.nintex.com/en-US/nwc/Content/Designer/Actions/SharePointOnline-GetAttachmentNames.htm

Translate

Forum|alt.badge.img+2

Thanks for your suggestion @SimonMuntz.

But it is setup as document library and the Get attachment by name action doesn’t even give me this list as an option.

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • October 9, 2024

Hi @awillemsen,

Thank you for your clarification.
Not sure if this will make a difference but does the library have versioning turned on?

If so, you may need to check the file out before downloading it.
https://help.nintex.com/en-US/nwc/Content/Designer/Actions/SharePointOnline-CheckoutFiles.htm

Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • October 14, 2024

Hi @awillemsen 
Have you resolved your issue? 

Translate

Forum|alt.badge.img+2

Hi @MillaZ,

yes and no. I didn’t get it to work for the specific Website.

It was probably some kind permission issue on our side.

After creating a fresh SharePoint Online Site and List it just worked.

Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • October 14, 2024

Thank you @awillemsen 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings