# APIs Not working!

**URL:** <https://forum.adalo.com/t/apis-not-working/5377>\
**Category:** Get Help\
**Created:** [October 27, 2020, 6:30pm UTC](https://forum.adalo.com/t/apis-not-working/5377 "2020-10-27T18:30:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexstockman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/alexstockman/32/9294_2.png) [@alexstockman](https://forum.adalo.com/u/alexstockman)\
**Post date:** [October 27, 2020, 6:30pm UTC](https://forum.adalo.com/t/apis-not-working/5377/1 "2020-10-27T18:30:20Z")

</div>

When trying to connect to APIs I keep receiving an error message (attached below) but the response is exactly what I need.

 ![Screen Shot 2020-10-26 at 11.45.02 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/3/367e12e41c5317c25dc34d08e1673893960ce59c.png)

Why is this happening and How can I remedy this?

Also, It is possible to get any sort of support for Adalo without having a dedicated account rep. I’m interested in upgrading but I won’t pay the price if I can’t ensure this feature works first. Is anyone having similar experiences?

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![AXIOM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/axiom/32/3515_2.png) [@AXIOM](https://forum.adalo.com/u/AXIOM)\
**Post date:** [October 28, 2020, 12:47am UTC](https://forum.adalo.com/t/apis-not-working/5377/2 "2020-10-28T00:47:42Z")

</div>

Hey there. Did you set the keys accordingly in the endpoints definitions? They have to match the array you want to interpret.

If you could screenshot Step 2, we’ll be able to help.

---

<div class="post-metadata">

**Author:** ![alexstockman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/alexstockman/32/9294_2.png) [@alexstockman](https://forum.adalo.com/u/alexstockman)\
**Post date:** [October 28, 2020, 2:32am UTC](https://forum.adalo.com/t/apis-not-working/5377/3 "2020-10-28T02:32:40Z")

</div>

Thanks for the reply.

I don’t see anything about it in the documentation (I am new to APIs).

Right now, I am teaching myself with [https://newsapi.org/](https://newsapi.org/)

 ![Screen Shot 2020-10-27 at 7.28.22 PM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/d/db6ba053ac3f77202768f51a8f1dbf95f858becd.png)  
 ![Screen Shot 2020-10-27 at 7.28.13 PM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/5c3022eae7c9a76eb7818761023c5af2255482ca.png)

I’ve tried with and without inserting my API key in “Results Key”. Same result. All the data I need but It just wont work with Adalo.

I’m confused about why this needs to be done as the full response is exactly what I’m looking for. Can you explain?

Let me know if there’s anything else I can include to help.

---

<div class="post-metadata">

**Author:** ![AXIOM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/axiom/32/3515_2.png) [@AXIOM](https://forum.adalo.com/u/AXIOM)\
**Post date:** [October 28, 2020, 8:03am UTC](https://forum.adalo.com/t/apis-not-working/5377/5 "2020-10-28T08:03:23Z")

</div>

Hey, try replacing the API Key that you put in the results key with the word “articles” (without the quotation marks). Does that work?

You are working with a set of values that are belonging to a Key as in Key-Value Pair. Not to be confused with Key to authorize. 😉

Then add a second result key “source”. That should do the trick if you want only the ID and Name. Otherwise leave the second key nd only go with “articles”

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [October 28, 2020, 9:39am UTC](https://forum.adalo.com/t/apis-not-working/5377/6 "2020-10-28T09:39:18Z")

</div>

Looking at those json responses I can see that they both respond with arrays inside of curly brackets instead of square brackets. “{” instead of “[”.

At the moment our system does not interpret this response and therefore rejects it as invalid json.

I have made an internal note about this to see if there is anything we can do on our side to accept these types of responses.

---

<div class="post-metadata">

**Author:** ![alexstockman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/alexstockman/32/9294_2.png) [@alexstockman](https://forum.adalo.com/u/alexstockman)\
**Post date:** [October 28, 2020, 10:29pm UTC](https://forum.adalo.com/t/apis-not-working/5377/7 "2020-10-28T22:29:55Z")

</div>

> [@AXIOM](#):
>
> articles

Wow! You’re a god on earth! It finally worked for me!

So in the future, I should play around with the results keys and add in the description of what it’s giving me?

Thanks a million,  
Alex

---

<div class="post-metadata">

**Author:** ![AXIOM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/axiom/32/3515_2.png) [@AXIOM](https://forum.adalo.com/u/AXIOM)\
**Post date:** [October 28, 2020, 10:32pm UTC](https://forum.adalo.com/t/apis-not-working/5377/8 "2020-10-28T22:32:49Z")

</div>

Havng the key to what you need doesnt do any harm, my friend 😛 Glad I could help!

---

<div class="post-metadata">

**Author:** ![alexstockman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/alexstockman/32/9294_2.png) [@alexstockman](https://forum.adalo.com/u/alexstockman)\
**Post date:** [October 30, 2020, 7:58pm UTC](https://forum.adalo.com/t/apis-not-working/5377/9 "2020-10-30T19:58:56Z")

</div>

So from my understanding the “Results Key” defines what data you want to become records in a collection?

Wan’t to confirm for future reference and to help people here on the form.

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![AXIOM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/axiom/32/3515_2.png) [@AXIOM](https://forum.adalo.com/u/AXIOM)\
**Post date:** [October 31, 2020, 11:43pm UTC](https://forum.adalo.com/t/apis-not-working/5377/10 "2020-10-31T23:43:37Z")

</div>

You got that right. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [November 10, 2020, 11:43pm UTC](https://forum.adalo.com/t/apis-not-working/5377/11 "2020-11-10T23:43:44Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
