I need  a bit of help with retreiving the execution logs for a specific Adobe Fusion scenario. | Community
Skip to main content
Ken_Qrious
Level 4
March 2, 2025
Solved

I need  a bit of help with retreiving the execution logs for a specific Adobe Fusion scenario.

  • March 2, 2025
  • 1 reply
  • 1024 views
Based on the documentation at https://developers.make.com/api-documentation/api-reference/scenarios/logs/get--scenarios--scenarioid--logs the following api call should do the trick.  The api call works but the response is not what is expected.  The response I am getting looks more like a scenario change audit.
 
Documentation 
API Request (Get) 
 
API Response 
{
  "scenarioLogs": [
    "pg": {
    "sortBy": "imtId",
    "sortDir": "desc",
    "last": "1632371803593_scenario.1229.auto.3cf2f332f74f43f1b2c4ae431cbedb5b",
    "showLast": false,
    "limit": 50
  },
{
      "imtId": "1632371744497_scenario.1229.auto.da518adcd14b4b64ac6358823ccb80ca",
      "duration": 19979,
      "operations": 10,
      "transfer": 3942,
      "organizationId": 21,
      "teamId": 27,
      "id": "da518adcd14b4b64ac6358823ccb80ca",
      "type": "auto",
      "authorId": null,
      "instant": false,
      "timestamp": "2021-09-23T04:35:44.497Z",
      "status": 1
    }
  ]
}
 
Actual (with sensitive data substituted)
API Request (Get) 
 
API Response
{
    "scenarioLogs": [
        {
            "imtId": "1111111111111_222222",
            "id": "222222",
            "executionId": "222222",
            "detail": {
                "author": {
                    "name": "Jo Developer",
                    "staff": false
                }
            },
            "type": "modify",
            "authorId": 12121,
            "timestamp": "2025-02-25T21:08:05.605Z"
        },
        {
            "imtId": "3333333333333_444444",
            "id": "444444",
            "executionId": "444444",
            "detail": {
                "author": {
                    "name": "Jo Developer",
                    "staff": false
                }
            },
            "type": "start",
            "authorId": 12121,
            "timestamp": "2025-02-25T21:08:02.872Z"
        }
    ],
    "pg": {
        "sortBy": "imtId",
        "limit": 50,
        "sortDir": "desc",
        "offset": 0
    }
}
Best answer by ASHS1

Not a very helpful reply from support.  Very frustrating.


This worked for me:

 

--header 'x-organization-id: {org_id}' \
--header 'x-team-id: {team_id}' \
--header 'x-user-token: Bearer {ims_token}'

1 reply

lgaertner
Level 9
March 3, 2025

Hello Ken,

 

the question is, what returned information you are expecting?

 

As you can see here, you get detailed information on an execution, if you are extending your API call with an execution ID.

/scenarios/{scenarioId}/logs/{executionId}

 
The documentation of make.com mentions, that you need to use 
The unique ID of the scenario execution. It can be retrieved from the List scenario logs endpoint under the ID key.
 
As your response already includes a key called executionId, that could be the required id.
 
Regards
Lars
Ken_Qrious
Level 4
March 3, 2025

Hello Lars,

 

What I'm expecting is a valid execution id so that I can retrieve the execution details with /scenarios/{scenarioId}/logs/{executionId}.  In the documentation example the execution id is a longer value ("id": "da518adcd14b4b64ac6358823ccb80ca").  If I grab the actual execution id from fusion the /scenarios/{scenarioId}/logs/{executionId} works fine.  Wh I am getting is a shorter value ("executionId": "222222").  If I try to use the execution id that returned (/scenarios//123456/logs/222222) I get the following error

 

{
    "detail": "Validation failed for 1 parameter(s).",
    "message": "Bad Request",
    "code": "SC400",
    "suberrors": [
        {
            "message": "Value doesn't match pattern in parameter 'executionId'.",
            "name": "Error"
        }
    ]
}
Sven-iX
Community Advisor
Community Advisor
March 3, 2025

Hi @ken_qrious 

Looks like Adobe modified this part of the API and we're out of luck:

When I make the request to /api/v2/scenarios/123456/logs like you did - it only returns the last Save points of the scenario, no executions. 

 

Looking at the front-end, I see that the actual call retrieving executions is 

/api/v1/logs/scenario/23701?orderby=-timestamp&limit=50

 

That call doesn't like the API tokens (denied) and when you paste in the Bearer Token from DevTools I get "Forbidden resource"

 

So it seems the walled that off. Go ahead and enter a ticket. I'm doing the same.