TomFrankly / pipedream-notion-voice-notes

Take notes with your voice and send them to Notion
94 stars 49 forks source link

Suddenly getting "Failed to download file" error. tried rebuilding new workflow from scratch and repeated issue. #87

Open richtack opened 1 month ago

richtack commented 1 month ago

Describe the bug The workflow stopped working after working successfully for months. Now getting a "Failed to download file" issue. after trying to fix and searching pipe dream support, I decided to rebuild a whole new workflow from scratch, and the error repeated on the new project.

Which cloud storage app are you using? (Google Drive, Dropbox, or OneDrive) Dropbox

Have you tried updating your workflow? Please follow the steps here, and ensure you've tested the latest version of the workflow: https://thomasjfrank.com/how-to-transcribe-audio-to-text-with-chatgpt-and-notion/#update Yes

Does the issue only happen while testing the workflow, or does it happen during normal, automated runs? Both. I get an error message when I upload an audio file to the dropbox folder.

Please paste the contents of your Logs tab from the notion_voice_notes action step.

Error Failed to download file: getaddrinfo ENOTFOUND ud78r9s3t6c6s7afa545778b4100.dl.cloudstorageusercontent.com DETAILS at Object.downloadToTmp (file:///tmp/pdg/dist/code/16157ccb517312283553eaaa945076926a83e8862411456e6deb94d0e9fdf944/code/Notion-Voice-Notes.mjs:457:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.run (file:///tmp/pdg/dist/code/16157ccb517312283553eaaa945076926a83e8862411456e6deb94d0e9fdf944/code/Notion-Voice-Notes.mjs:2309:5) at null.executeComponent (/var/task/launch_worker.js:288:22) at MessagePort.messageHandler (/var/task/launch_worker.js:788:28)

TomFrankly commented 3 weeks ago

@richtack can you share a screenshot of your Dropbox trigger tab? I'd like to check that your Include Link option is set to True: CleanShot 2024-06-11 at 19 32 44@2x

Can you also try re-uploading your audio file with a new name? Dropbox specifically has a quirk where it deletes the download URL that Pipedream uses after about 2 hours. After that, there's no way for Pipedream to access that file again, that I know of.

richtack commented 3 weeks ago

Thank you for getting back to me directly!

As you'll see by the screenshot, Include Link is set to True. CleanShot 2024-06-12 at 08 05 26@2x

This is likely not helpful, but here's a screenshot of the log. CleanShot 2024-06-14 at 06 33 33@2x

Here's the full error I get when I try uploading a new file to the dropbox folder.

CleanShot 2024-06-14 at 06 39 57@2x

Too much information, I'm sure! But really appreciate this. Happy to support you in this effort!

TomFrankly commented 3 weeks ago

@richtack in your Details page, can you check that your version is 0.7.30?

CleanShot 2024-06-14 at 10 37 29@2x

It may also be easiest to recreate the workflow from my template links here: https://thomasjfrank.com/how-to-transcribe-audio-to-text-with-chatgpt-and-notion/#copy-my-workflow - this will ensure you've got the latest version!

richtack commented 3 weeks ago

just checked - yes, it's 0.7.30. BTW, when this problem started, I disabled my original workflow and recreated a second instance per the original instructions and the same issue replicated. I do think it started after Pipedream updated something on their platform? I wish I knew more to hunt that down.