Getting an error trying to set a Mailchimp Tag from a notion checkbox

I am trying to add/remove a tag in Mailchimp based on a checkbox in a notion database item. Here the code where I am trying to check if the checkbox is true and if so set a value for the tag to active or inactive if condition not met. Here is my attempt.

I am getting this error in Make “Value not found in options in parameter ‘status’.”.

Any ideas?

I see that there is a space at the end of the word “active” and at the start of the word “inactive” in your formula in Make. Could it be that the Mailchimp options don’t have that space, and so the API is throwing the error because it doesn’t find a match?

3 Likes

Welcome to the Make community!

In addtion to what Simo has mentioned, what does this variable contain?

Screenshot_2024-02-25_110205

Please provide the output bundles of the module [4] by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

1 Like

Simo, thank you for spotting that. Didn’t notice the extra spaces at all. That fixed things.

3 Likes