Issue retrieving Asaas API data

(:us: Translated by moderators to maintain consistency and ensure effective communication for all members.)

What are you trying to achieve?

I need to retrieve data from the Asaas API. However, when I try to set the start and end due dates, my scenario returns an error regarding the date format, and I can’t fix it. I want to pull invoices that are due 5 days from the current date.

Steps taken so far

I have tried using various date formats, but none are accepted.

Screenshots: scenario setup, module configuration, errors

Hi @Lucas-Pierre,

What type of date does Asaas accept? It looks like it requires a specific format to work correctly.

According to this:

The date needs to be in YYYY-MM-DD format.

You can try

{{formatDate(addDays(now; 5); “YYYY-MM-DD”)}}

[
    {
        "scope": "roundtrip",
        "variables": [
            {
                "name": "date1",
                "value": "2024-07-29T22:25:04.416Z"
            },
            {
                "name": "date2",
                "value": "2024-07-29"
            }
        ]
    }
]

L