# Hello, I'm trying to return an Airtable file and I get this result:

**URL:** <https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470>\
**Category:** Questions about Thunkable X\
**Created:** [April 13, 2021, 12:14am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470 "2021-04-13T00:14:26Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucasss](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lucasss](https://community.thunkable.com/u/Lucasss)\
**Post date:** [April 13, 2021, 12:14am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/1 "2021-04-13T00:14:26Z")

</div>

I’m trying to get this file through Airtable (PDF file):  
 ![Screenshot_12](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/d/9d69f4eef4dabd078deb9fac71ed4cee20774c57.png)  
But I got this: [object Object]  
 ![ac76b345-ce70-468d-b836-7e2e6c5d0220](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/3/e3c874b4b6e364f1ee3ac0222c81eff07b12dcdc.jpeg)

Blocks:  
 ![Screenshot_11](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/d/fdd157ad995ed6ffeae37e274b48067dab822fde.png)

Can someone explain to me?

---

<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:** [April 13, 2021, 1:02am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/2 "2021-04-13T01:02:40Z")

</div>

What is the format for that column in Airtable? And what is a sample cell value? It looks like you might have images in that column?

**Edit:** it’s an attachment type. So the [object object] is Thunkable’s way of trying to display something that is not text in a label that can only display text.

---

<div class="post-metadata">

**Author:** ![Lucasss](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lucasss](https://community.thunkable.com/u/Lucasss)\
**Post date:** [April 13, 2021, 1:13am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/4 "2021-04-13T01:13:19Z")

</div>

converted to json and the property is “url”

 ![Screenshot_15](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/6/66b265577d5d024ddce8021b4f628dfaaca827cb.jpeg)

---

<div class="post-metadata">

**Author:** ![Lucasss](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lucasss](https://community.thunkable.com/u/Lucasss)\
**Post date:** [April 13, 2021, 1:16am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/5 "2021-04-13T01:16:05Z")

</div>

I’m using this block, but the application breaks

 ![Screenshot_14](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/3/13a8768ebd4072d9ff06aaa30a230338f43c47a0.png)

---

<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:** [April 13, 2021, 1:44am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/6 "2021-04-13T01:44:56Z")

</div>

It looks like “url” is not the top-level property in that JSON.

Can you post the full JSON response here as text?

---

<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:** [April 13, 2021, 1:46am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/7 "2021-04-13T01:46:15Z")

</div>

But if the attachment in Airtable is a PDF, you’re not going to be able to display that in a label. You could try the PDF Reader component instead.

If you just need a single JSON property (“url”), we can see if we can figure that out.

---

<div class="post-metadata">

**Author:** ![Lucasss](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lucasss](https://community.thunkable.com/u/Lucasss)\
**Post date:** [April 13, 2021, 1:48am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/8 "2021-04-13T01:48:50Z")

</div>

[{“id”:“attoS1BIldh5JP6IP”,“url”:“[https://dl.airtable.com/.attachments/e72e80f57081298cf1e737d0d27f20b0/c62260df/Indicao-85.pdf",“filename”:"Indicação](https://dl.airtable.com/.attachments/e72e80f57081298cf1e737d0d27f20b0/c62260df/Indicao-85.pdf%22,%22filename%22:%22Indica%C3%A7%C3%A3o) - 85.pdf”,“size”:580756,“type”:“application/pdf”,“thumbnails”:{“small”:{“url”:“[https://dl.airtable.com/.attachmentThumbnails/6a908310b08cf2f113ecb295c848c79c/0caa203c",“width”:25,“height”:36},“large”:{“url”:“https://dl.airtable.com/.attachmentThumbnails/cfbb4de0e06ea5678785b8a89bc7d066/68d6f41a”,“width”:362,"height](https://dl.airtable.com/.attachmentThumbnails/6a908310b08cf2f113ecb295c848c79c/0caa203c%22,%22width%22:25,%22height%22:36%7D,%22large%22:%7B%22url%22:%22https://dl.airtable.com/.attachmentThumbnails/cfbb4de0e06ea5678785b8a89bc7d066/68d6f41a%22,%22width%22:362,%22height)”:512}}}]

---

<div class="post-metadata">

**Author:** ![Lucasss](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lucasss](https://community.thunkable.com/u/Lucasss)\
**Post date:** [April 13, 2021, 1:49am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/9 "2021-04-13T01:49:12Z")

</div>

this is json

---

<div class="post-metadata">

**Author:** ![Lucasss](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lucasss](https://community.thunkable.com/u/Lucasss)\
**Post date:** [April 13, 2021, 1:50am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/10 "2021-04-13T01:50:01Z")

</div>

I tried that, but the app breaks too

> [@tatiang](#):
>
> PDF Reader

---

<div class="post-metadata">

**Author:** ![Lucasss](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lucasss](https://community.thunkable.com/u/Lucasss)\
**Post date:** [April 13, 2021, 2:06am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/11 "2021-04-13T02:06:25Z")

</div>

Json properties:

 ![Screenshot_16](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/8/088304f119190261e51067d691db09e2f68a43a0.png)

Blocks:

 ![Screenshot_17](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/743a8d11933ed721b069cada26e9c138df004697.png)

Error:

 ![2c5a5fc2-3027-448f-a238-23689618d732](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/3/c36d95a1b7aa0f6802a41f2d1dd974eca45738a2.jpeg)

---

<div class="post-metadata">

**Author:** ![Lucasss](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lucasss](https://community.thunkable.com/u/Lucasss)\
**Post date:** [April 13, 2021, 2:31am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/12 "2021-04-13T02:31:15Z")

</div>

I managed to solve the problem in a strange way, but it works.

- I turned the object into json  
 ![Screenshot_19](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/9/39089cd7587cc2bbedc2bccbe46572cdc4235814.png)
- I split the list in comma (,)  
 ![Screenshot_20](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/6/a6b070a83fa5c8d8e707cc9585a6a0cfaf51622d.png)
- The URL file is the second item in the list  
 ![Screenshot_21](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/a/da3dbaacf5e2b8c6f59d608109b5575a84f4c847.png)
- I removed characters to make the URL clear  
 ![Screenshot_22](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/0/20ee075c2d3725bb6294e3e8dee9bfb8cd0e3d4c.png)

it’s work

---

<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:** [April 13, 2021, 3:29am UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/13 "2021-04-13T03:29:36Z")

</div>

I’m glad you got it working! 🙂

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:25pm UTC](https://community.thunkable.com/t/hello-im-trying-to-return-an-airtable-file-and-i-get-this-result/1220470/14 "2024-11-08T13:25:19Z")

</div>


