# Cant download a PDF from API

**URL:** <https://community.thunkable.com/t/cant-download-a-pdf-from-api/1160819>\
**Category:** Questions about Thunkable X\
**Created:** [March 11, 2021, 5:25pm UTC](https://community.thunkable.com/t/cant-download-a-pdf-from-api/1160819 "2021-03-11T17:25:50Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [March 11, 2021, 6:47pm UTC](https://community.thunkable.com/t/cant-download-a-pdf-from-api/1160819/13 "2021-03-11T18:47:43Z")

</div>

Part of the problem is that the demo url works perfectly but the url @funhall is using with authentication doesn’t return a valid value (my guess! We don’t know…). So the problem is not with the API and probably not with the JSON parsing either. The problem is that we haven’t seen a valid FULL url including authentication.

> [@I need help to download PDF from a link from API](https://community.thunkable.com/t/i-need-help-to-download-pdf-from-a-link-from-api/1134651/18):
>
> @muneer I was able to display the “demo” pdf file in the PDF Reader component without doing any conversion. Just straight from the “download” property into that component. But I couldn’t get it to work with @funhall’s authentication and specific API URLs.

---

_[View the full topic](https://community.thunkable.com/t/cant-download-a-pdf-from-api/1160819)._
