zapier / zapier-platform

The SDK for you to build an integration on Zapier
https://platform.zapier.com
Other
344 stars 188 forks source link

[Bug]: File upload loses original file name #848

Open strongpauly opened 1 month ago

strongpauly commented 1 month ago

Bug Description

When following the example https://github.com/zapier/zapier-platform/blob/main/example-apps/files/creates/uploadFile_v10.js the file that is uploaded does not retain its original name. Instead we get a seemingly random sequence of characters as the name. I can see that the example expects the consumer to specify the name as a separate field, but it would be good to not require the user to do this.

Reproduction Steps

  1. Create an app which uploads a file from a single field as the above example
  2. Send a file to that app with a meaningful name

Zapier Platform version

Node.js version

v20.10.0

Your Operating System

macOS 14.5

npm/yarn version

4.4.0

App ID

147940

More Details

No response