Skip to main content

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}

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


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.


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


Hi @awillemsen 
Have you resolved your issue? 


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.


Thank you @awillemsen 


Reply