question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question][Help] - Downloading Attachments

See original GitHub issue

We are using PouchDB and it is being synched/replicated to databases within CouchDB. Our pouch documents have attachments which are in turn being synched to CouchDB.

When trying to download the attachment using var file = await db.DownloadAttachmentAsync(attachment, Path.GetTempPath(), cancellationToken: cancellationToken); it is failing because the attachment.Uri is null. It seems it is null because this document/attachment was not added via the couchdb-net library and therefore InitAttachments() was not called which internally sets the Uri property.

It’s very possible/likely we are doing something incorrectly on the PouchDB side and/or the CouchDB side, but any assistance here would be greatly appreciated.

Thanks!!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
matteobortolazzocommented, Jan 14, 2022

No worries 😃 You need to fork on you own account to PR me. So press fork, clone in you PC (dev branch) apply changes and then PR this repo

0reactions
matteobortolazzocommented, Jul 3, 2022

v3.2.0 Released

Read more comments on GitHub >

github_iconTop Results From Across the Web

Open & download attachments in Gmail - Computer
On your computer, go to Gmail. Open an email message. Hover your mouse over the thumbnail, then click Download . Your browser saves...
Read more >
How To Download Email Attachments: 2 Methods, Tips and ...
Discover how to download attachments from your email using different methods and see answers to frequently asked questions about safe ...
Read more >
[Android gmail app] Can't view or download attachments ...
[Android gmail app] Can't view or download attachments for one account, other accounts work.
Read more >
Unable to download attachment from Gmail app
Iam not able to download attached document from Gmail android app. It's not getting download.I was cleared catch and data of Gmail app....
Read more >
Downloading attachment question.
Hi.I am trying to figure out how to download attachments? I have a test task with 2 images attached. I try to send...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found