Comments
-
Well, it has mysteriously stopped happening since I reported it. Someone must have caught the bug and fixed it 🙂
-
Workaround in place just renames the image files so they don't have an extension - https://github.com/wolfgangmeyers/aibrush-2/commit/ce1b543c2665dd5c52d8cad1f378352d9bd8d515#diff-8a564379402b12a223f373189c220ab5404f0ae74900a8f164e559bf548b522fR153
-
Here is where my problem occurs: https://github.com/wolfgangmeyers/aibrush-2/blob/main/src/lib/dropbox.ts#L167 This doesn't happen if I change it from using ".png" to "_png", same with webp files.
-
Request headers: POST /2/files/download HTTP/1.1Accept: */*Accept-Encoding: gzip, deflate, brAccept-Language: en,en-US;q=0.9Connection: keep-aliveContent-Length: 0Dropbox-API-Arg: {"path":"/0d433c25-8365-4933-a96f-6f07543a899f.png}"}Host: content.dropboxapi.comOrigin: http://localhost:3001Referer:…
-
Request Headers: POST /2/files/download HTTP/1.1Accept: */*Accept-Encoding: gzip, deflate, brAccept-Language: en,en-US;q=0.9Authorization: Bearer ...Connection: keep-aliveContent-Length: 0Dropbox-API-Arg: {"path":"/0d433c25-8365-4933-a96f-6f07543a899f.png}"}Host: content.dropboxapi.comOrigin: http://localhost:3001Referer:…
-
Response Headers: HTTP/1.1 409 ConflictAccess-Control-Allow-Origin: *Access-Control-Expose-Headers: Accept-Ranges, Content-Range, ETag, Dropbox-API-ResultCache-Control: no-cacheContent-Security-Policy: sandbox allow-forms allow-scriptsX-Content-Type-Options: nosniffContent-Type: application/jsonAccept-Encoding:…
-
Request headers: POST /2/files/download HTTP/1.1Accept: */*Accept-Encoding: gzip, deflate, brAccept-Language: en,en-US;q=0.9Authorization: Bearer <redacted>Connection: keep-aliveContent-Length: 0Dropbox-API-Arg: {"path":"/0d433c25-8365-4933-a96f-6f07543a899f.png}"}Host: content.dropboxapi.comOrigin:…
-
I just replied with all of the info you requested but my reply disappeared. Did you get the reply or do I need to repost it?
-
Thanks for the help! I'm using the "dropbox" npm package version 10.34.0. Here's a code snippet that shows the `Dropbox` instance being used to download the image file: const imageFileName = `image_filename.png`;const imageResult = (await this.dropbox.filesDownload({path: `/${imageFileName}`,})).result; For more context,…
-
Update - if I rename a file with a .webp or .png extension to end in _webp or _png respectively, the download works.