sindresorhus / Actions

⚙️ Supercharge your shortcuts
https://sindresorhus.com/actions
MIT License
2.49k stars 103 forks source link

Truncate action causing "This action is trying to share 10016005571271983104 Finder items, which is not allowed." error #201

Closed chrisgrande closed 7 months ago

chrisgrande commented 7 months ago

Setup: a folder of 150 PDFs, For Each Loop, Truncate the files Name to any number of characters, causes the error "This action is trying to share 10016005571271983104 Finder items, which is not allowed.".

Enabling the "Allow sharing large amounts of data" setting mitigates the issue.

https://github.com/sindresorhus/Actions/assets/825577/d0ad3e48-6dc4-4e42-ac4d-fd7535243ef8


Actions 2.10.0 (51) - com.sindresorhus.Actions macOS 14.2.0 Mac14,12

sindresorhus commented 7 months ago

The message is shown because you are techincally sharing large amounts of data with the Actions app. There's no way around this.

chrisgrande commented 7 months ago

Certainly not that amount of items, I'm guessing the error count calculation is a bug of some sort with Shortcuts.