# GET ALL error even though the API response was successful

**URL:** <https://forum.adalo.com/t/get-all-error-even-though-the-api-response-was-successful/30871>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [August 17, 2022, 6:02am UTC](https://forum.adalo.com/t/get-all-error-even-though-the-api-response-was-successful/30871 "2022-08-17T06:02:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sadhana](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@sadhana](https://forum.adalo.com/u/sadhana)\
**Post date:** [August 17, 2022, 6:02am UTC](https://forum.adalo.com/t/get-all-error-even-though-the-api-response-was-successful/30871/1 "2022-08-17T06:02:45Z")

</div>

Hi everyone!

I’m new to Adalo and am trying to connect my external API to my app. Some information about my API:

- Generated using [sparklite.io](http://sparklite.io)
- Using a synthetic key, tenant name and content-type header
- Is an execute style API using POST method only

Step 1:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/9/e/9eccac03ed63ad48fc5645b95d23568035452b76.png)

Step 2 (the API uses only POST so I have just changed all methods to POST and entered my endpoint for each):

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/b/b/bb6ac1a74ef6e1f5529578d437bb769798980749.png)

When I test the above, I am able to see a successful API response, but I notice that there was an error from Adalo when getting all.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/b/3/b3ce2795bea5546fa281138807ab7c7af19db945.png)

What’s wrong and how do I fix it?

Any help appreciated!

Thank you,  
Sadhana

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [August 17, 2022, 9:04am UTC](https://forum.adalo.com/t/get-all-error-even-though-the-api-response-was-successful/30871/2 "2022-08-17T09:04:55Z")

</div>

Hi Sadhana,

I think you would not need to change all endpoints to Post. Keep them like that and test it. If you get this same error then you need to add a result key on the get all endpoint. I think that should be response\_data and outputs.

But you said this is a Post one and Custom actions will be good for that!

You want to create a record?

Thank you

---

<div class="post-metadata">

**Author:** ![sadhana](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@sadhana](https://forum.adalo.com/u/sadhana)\
**Post date:** [August 17, 2022, 9:21am UTC](https://forum.adalo.com/t/get-all-error-even-though-the-api-response-was-successful/30871/3 "2022-08-17T09:21:16Z")

</div>

Hi @Dilon - thanks a ton for a reply! I’ve been trying for a while now ahaha.

I have actually tried to keep all other endpoints to the default method:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/f/9/f913efb21f74402466c74cf5e3b5133d22d7ebf4.png)

I still get an error:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/0/6/06182b34281f506e8aec6203a84576229200e307.png)

Yes, you are right, it is a post endpoint only. I can try custom actions - do you know how I can get started? Also, do i need a collection to work with custom actions? How do I get a collection if Adalo doesn’t allow me to?

Thanks so much!
