# How to pass two query parameters with the same name

**URL:** <https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211>\
**Category:** Get Help\
**Created:** [May 14, 2022, 2:27pm UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211 "2022-05-14T14:27:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![christo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/christo/32/19634_2.png) [@christo](https://forum.adalo.com/u/christo)\
**Post date:** [May 14, 2022, 2:27pm UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211/1 "2022-05-14T14:27:56Z")

</div>

Dear all

in a GET All API call for an external collection,

I am trying to pass two parameters with the same name, ie:

GET https://…/?column=FIELD1&column=FIELD2&…

It seems Adalo only takes the last parameter with a given name.

Would you have any idea about this ?

kind regards,

Pierre

---

<div class="post-metadata">

**Author:** ![Flawless](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/flawless/32/20131_2.png) [@Flawless](https://forum.adalo.com/u/Flawless)\
**Post date:** [May 15, 2022, 3:20pm UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211/2 "2022-05-15T15:20:34Z")

</div>

Hey there @christo

Try using a comma to separate the values instead of 2 parameters.

Like this: https://…/?column=FIELD1,FIELD2&…

---

<div class="post-metadata">

**Author:** ![christo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/christo/32/19634_2.png) [@christo](https://forum.adalo.com/u/christo)\
**Post date:** [May 16, 2022, 11:23am UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211/3 "2022-05-16T11:23:10Z")

</div>

Hero @Flawless

Thanks a lot for your help  
I have tried  
FIELD1, FIELD2  
FIELD1, FIELD2  
“FIELD1”, “FIELD2”  
FIELD1,  
FIELD2  
FIELD1;FIELD2  
FIELD1  
FIELD2

Alas it did not work.

Pierre

---

<div class="post-metadata">

**Author:** ![Flawless](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/flawless/32/20131_2.png) [@Flawless](https://forum.adalo.com/u/Flawless)\
**Post date:** [May 16, 2022, 11:27am UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211/4 "2022-05-16T11:27:10Z")

</div>

It looks like all of your responses have spaces in them. You want FIELD1,FIELD2 after the = with no spaces.

Like this: https://…/?column=FIELD1,FIELD2

You provide no information as to what API you are using. I recommend that you look at the developer documentation for the API you are using to see if it’s possible to even pass multiple values in a query.

---

<div class="post-metadata">

**Author:** ![christo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/christo/32/19634_2.png) [@christo](https://forum.adalo.com/u/christo)\
**Post date:** [May 16, 2022, 11:32am UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211/5 "2022-05-16T11:32:02Z")

</div>

Thanks a lot again

FIELD1,FIELD2 with no spaces does not work.

My receiving api wants to receive something like  
column=FIELD1&column=FIELD2…

The error message its sends me is  
{  
“error”: 400,  
“code”: 3100,  
“source”: “Statut,Brief”,  
“message”: “Column does not exist”  
}  
So I guess Adalo sends column=FIELD1,FIELD2

Pierre

---

<div class="post-metadata">

**Author:** ![njimmy10](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/njimmy10/32/23489_2.png) [@njimmy10](https://forum.adalo.com/u/njimmy10)\
**Post date:** [May 16, 2022, 12:25pm UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211/6 "2022-05-16T12:25:10Z")

</div>

You can’t use same variable name twice

---

<div class="post-metadata">

**Author:** ![christo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/christo/32/19634_2.png) [@christo](https://forum.adalo.com/u/christo)\
**Post date:** [May 16, 2022, 2:35pm UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211/7 "2022-05-16T14:35:41Z")

</div>

Thanks for your help

I have found a solution to my issue  
TeamDesk has another way to query data without specifying the fields to retrieve: which is to query for ‘VIEWS’ instead of ‘TABLES’.

Kind regards,

Pierre

---

<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:** [May 26, 2022, 2:35pm UTC](https://forum.adalo.com/t/how-to-pass-two-query-parameters-with-the-same-name/27211/8 "2022-05-26T14:35:52Z")

</div>

Closed on May 26, 2022, 2:35pm UTC

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