# API self-signed certificate

**URL:** <https://community.thunkable.com/t/api-self-signed-certificate/1239056>\
**Category:** Questions about Thunkable X\
**Tags:** webapi, json\
**Created:** [April 22, 2021, 2:25pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056 "2021-04-22T14:25:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![galatioto1un7](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@galatioto1un7](https://community.thunkable.com/u/galatioto1un7)\
**Post date:** [April 22, 2021, 2:25pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/1 "2021-04-22T14:25:50Z")

</div>

Hi all  
I’m testing this platform to develop an app that via API shows some data…  
I’ve already tested 3th API to understand how Thunkable works but now, using the same “coding block” , instead of data I have an “ **undefined** ” response.  
I call an host that give me back a simple JSON object…Do you have any idea about this problem?  
So, my question mark is:  
Is it possible that Thunkable doesn’t works with https but self-signed certificate API host?  
Do you have any “walk-around”/solution to let me test?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 22, 2021, 2:45pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/2 "2021-04-22T14:45:55Z")

</div>

Can you please show your work or screenshot so that the members of the community better understand.

Remember, many API will not work from the Web Live Test but would work fine from Thunkable Live Test App on the mobile.

---

<div class="post-metadata">

**Author:** ![galatioto1un7](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@galatioto1un7](https://community.thunkable.com/u/galatioto1un7)\
**Post date:** [April 22, 2021, 3:07pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/3 "2021-04-22T15:07:03Z")

</div>

Hi Muneer, thank you for your reply  
Yes , of course, attached you find the screenshot but it’s a very basic function…

About the testing solution, I tried on my mobile by your Thunkable Live Test App, so my “security question”

 ![Screenshot from 2021-04-22 16-52-13](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/4/941f8a0c35cebe1547827344068201815f2a7a53.png)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 22, 2021, 3:23pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/4 "2021-04-22T15:23:12Z")

</div>

Where do you get **undefined**?

Is it in “LabelOutput” or when attempting to get info from the object “varRispostaList”?

---

<div class="post-metadata">

**Author:** ![galatioto1un7](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@galatioto1un7](https://community.thunkable.com/u/galatioto1un7)\
**Post date:** [April 22, 2021, 3:36pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/5 "2021-04-22T15:36:00Z")

</div>

It is in “LabelOutput” (I’m using this label to have check of data…)

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [April 22, 2021, 4:26pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/6 "2021-04-22T16:26:18Z")

</div>

Hang on … you’re checking if there’s an error and then setting the label to status. Try setting it to error instead. I think that’s where your undefined is.

---

<div class="post-metadata">

**Author:** ![galatioto1un7](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@galatioto1un7](https://community.thunkable.com/u/galatioto1un7)\
**Post date:** [April 23, 2021, 9:29am UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/7 "2021-04-23T09:29:11Z")

</div>

> [@catsarisky](#):
>
> Hang on … you’re checking if there’s an error and then setting the label to status. Try setting it to error instead. I think that’s where your undefined is.

🤔 Interesting…doing this by Web Preview I see the data but by Live Test on my device it give back “Network request failed” message

---

<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 23, 2021, 4:11pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/8 "2021-04-23T16:11:49Z")

</div>

Are you using an https:// url?

Do you have any content filters or firewalls affecting your phone?

---

<div class="post-metadata">

**Author:** ![galatioto1un7](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@galatioto1un7](https://community.thunkable.com/u/galatioto1un7)\
**Post date:** [April 26, 2021, 8:07am UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/9 "2021-04-26T08:07:43Z")

</div>

Yes I’m using an https url, but no, there isn’t anything into my phone

---

<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 26, 2021, 4:03pm UTC](https://community.thunkable.com/t/api-self-signed-certificate/1239056/10 "2021-04-26T16:03:45Z")

</div>

I’m not sure what might be causing this. If you want to send me and/or @muneer a private message with a link to your project, we can take a look.

---

<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/api-self-signed-certificate/1239056/11 "2024-11-08T13:25:04Z")

</div>


