# Flutterwave Custom Action

**URL:** <https://forum.adalo.com/t/flutterwave-custom-action/4005>\
**Category:** Get Help\
**Created:** [September 13, 2020, 1:05pm UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005 "2020-09-13T13:05:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![IsaacO](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/isaaco/32/2389_2.png) [@IsaacO](https://forum.adalo.com/u/IsaacO)\
**Post date:** [September 13, 2020, 1:05pm UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005/1 "2020-09-13T13:05:20Z")

</div>

Hi

I am trying to use the custom action to send a POST via JSON to the Flutterwave API. The exact same JSON is successfully consumed via POSTMAN but the custom action returns an **authorization required** error. Has anyone experienced something similar before? How did you resolve it?

 ![Custom Action Error](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/b/b9f450ee584f939e2e21027a14ea8374e9d35831.png)

Thanks  
Isaac

---

<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:** [September 14, 2020, 9:39am UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005/2 "2020-09-14T09:39:35Z")

</div>

I’m not familiar with this API.

If it works in postman then there is no reason it shouldn’t work in Adalo.

Are you sending the required headers within the custom action?

---

<div class="post-metadata">

**Author:** ![IsaacO](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/isaaco/32/2389_2.png) [@IsaacO](https://forum.adalo.com/u/IsaacO)\
**Post date:** [September 14, 2020, 10:23am UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005/3 "2020-09-14T10:23:09Z")

</div>

Hi Colin  
I am sending the JSON from Adalo to the endpoint and getting the error. When I send the same JSON from Zapier, Integromat and Postman it succeeds. I would ideally want the Adalo POST to work so I consume the output within Adalo rather than storing the output in Airtable and then bringing it back as an External Collection  
Regards  
Isaac

---

<div class="post-metadata">

**Author:** ![IsaacO](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/isaaco/32/2389_2.png) [@IsaacO](https://forum.adalo.com/u/IsaacO)\
**Post date:** [September 14, 2020, 11:11am UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005/4 "2020-09-14T11:11:45Z")

</div>

Even when I try a different endpoint (MPesa API) I get an error on Adalo but not on Postman

 ![Adalo Custom Action error](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/9/9a5594c14850fd1ab482178b30d484f7c335a970.png) ![Adalo Custom Action Setup1](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/6/69e8da6a05c01c47cc5b96b0ebcdef55d7ac9976.png) ![Adalo Custom Action Setup2](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/3/3b8253db56588b10a46c9054c1f4e0478895fd34.png) ![Adalo Custom Action Setup3](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/8/8e323ae589feb88ccf11539731fd290f17736dc8.png) ![Postman STK Authorization](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/3/34c76532eb36a3796daa039fe254b117619f1295.png) ![Postman STK Success](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/7/7c81ceab6a15f717dd35077b113cd4ff461989cb.png)

---

<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:** [September 15, 2020, 9:25am UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005/5 "2020-09-15T09:25:15Z")

</div>

There isn’t any reason this shouldn’t work. Are you positive you have no extra spaces anywhere in the bearer token or anywhere else?

I can take a deeper look in to it tomorrow perhaps if you still have not got it to work.

---

<div class="post-metadata">

**Author:** ![IsaacO](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/isaaco/32/2389_2.png) [@IsaacO](https://forum.adalo.com/u/IsaacO)\
**Post date:** [September 15, 2020, 11:17am UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005/6 "2020-09-15T11:17:46Z")

</div>

Hi Colin,  
You were absolutely right, There was an extra space somewhere 🙆‍♂️  
Thanks so much for the help it is now working  
Isaac

---

<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:** [September 15, 2020, 12:14pm UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005/7 "2020-09-15T12:14:33Z")

</div>

It happens 🙂 I’m glad it is working now

---

<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:** [September 25, 2020, 12:14pm UTC](https://forum.adalo.com/t/flutterwave-custom-action/4005/8 "2020-09-25T12:14:36Z")

</div>

Closed on September 25, 2020, 12:14pm UTC

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