New Ghost member not added to Brevo list

Brevo contact is not added to the specified list when Ghost member is added.

The list number sent is rejected with invalid parameter error saying ‘listIds/0 should be type number

Here’s the output:

{
“response”: {
“status”: 400,
“body”: {
“code”: “invalid_parameter”,
“message”: “listIds/0 should be type number”
}
},
“request”: {
“body”: {
“email”: “my@email.com”,
“attributes”: {
“FIRST_NAME”: “First Last”
},
“listIds”: [
“5”
],
“unlinkListIds”: [
“5”
],
“updateEnabled”: true
}
}
}

This is my opinion that the Active Pieces is sending the list IDs as string instead of integer.

Could you please check?

1 Like

I am having the same issue. I found this on another forum related to Brevo and a user having a similar issue. Not sure if it helps anyone find a solution. I am not a developer, just researching.

"It denotes that the data is an array i.e Multiple Lists can be there for given data. So, In sendblue since it is a multi-select i.e an array, you need to pass an array of number not a single number.

To do this, what you want to do is,

  1. Pass the List ID as an array while in map mode
  2. Or, If you want to pass a single data then you need to use formula to create an array, add(emptyarray;data)
1 Like

The fix is released :smiley: marking this thread a solved

1 Like

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