Skip to main content
Nintex Community Menu Bar
Solved

Sharepoint Online - Get a File action problem

  • October 4, 2024
  • 6 replies
  • 141 views

Forum|alt.badge.img+3

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.

6 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • 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


Forum|alt.badge.img+3
  • Author
  • Novice
  • October 7, 2024

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.


SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • 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


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

Hi @awillemsen 
Have you resolved your issue? 


Forum|alt.badge.img+3
  • Author
  • Novice
  • Answer
  • October 14, 2024

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.


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

Thank you @awillemsen