HTTP modules double running

see Loom below

https://www.loom.com/share/1873d877619945e8a07d22e8910f684b?sid=be572957-d9e8-4b4a-a214-3e13c3b806d6

Welcome to the Make community!

You’re using an Iterator to loop through an array of two items, all future modules will run once per bundle outputted by the iterator module.

If you only want future modules to run once, you’ll need to aggregate the bundles.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module.

For further assistance, please provide the following

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

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

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle 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 output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Hey @John_Romano,

Based on the scenario, I’m assuming your iterator receives 2 bundles (so the array it’s iterating, has 2 items within it) from your first HTTP/JSON module. To be sure, I’d have to see the output, but that’s the most logical reason :slightly_smiling_face: .

By the way, if you set the parse response flag to Yes, you probably don’t need that Parse JSON module :wink:
image

Hope that helps!

Thomas - Nola Digital

2 Likes

Thank you!..I am a no code guy and am thankful for detailed anaswers like this…before I read this i was abke to figure it out. I had the filter after teh parser not the iterator. lol

2 Likes

same as the last. guy. lolol…Thank you!..I am a no code guy and am thankful for detailed anaswers like this…before I read this i was abke to figure it out. I had the filter after teh parser not the iterator.

Hey there @John_Romano and welcome to the community :wave:

I am glad to hear that you’re not facing mentioned issues anymore!

Thank you for updating us on this matter. :pray:

1 Like