Can't get the attachment from the sync gateway

I have some attachments created from my mobile app using CBL version 2.8, after the document replicated to the sync gateway I have try to get it from the sync gateway through rest api.
But it return not found error.


Hi @Chriswwmo ,

  • Is it possible that Postman is url decoding the url? Did you try with curl? something like:
curl -X GET "http://localhost:4984/clientdb/client_quotation-userNUM/blob_%252Fproposal.html" -H "accept: application/json"
  • If that does not help, can you provide the version of SG you’re using, is it also 2.8?

Thanks.

Thank you for your help. After change to blob_%252Fproposal.html get the attachment successful. :grinning: