Issue Creating Workflow via API – FlowApiStandardFriendlyError.FLOW_CREATION_BAD_REQUEST

Dear HubSpot Team,

I am encountering the following error while attempting to create a workflow via the automation API for certain accounts:

API Endpoint Used: /automation/v4/flows

Error Response:

{
  "status": "error",
  "message": "Invalid request to flow creation",
  "correlationId": "c33a05f9-277d-4009-ac71-cad230008354",
  "category": "BAD_REQUEST",
  "subCategory": "FlowApiStandardFriendlyError.FLOW_CREATION_BAD_REQUEST"
}

Interestingly, the same request with same request body works perfectly fine for some accounts but fails for others. Could you please help identify the cause of this issue and advise on any possible resolution or required input changes?

Looking forward to your assistance.

Hey, @VWO-Integration :waving_hand: You may need to gather more specifics and report this via your main portals support options. To conform, this is a peer-to-peer based support forum and HubSpot support doesn’t work out of this space.

Information that will likely be helpful for support:

- is this for a public app?

- is the app in the Marketplace?

- do you know the subscription level for the portals where this action is failing?

- is your app able to be installed in portals that don’t have access to workflows? e.g., Free or Starter

This is because neither the Community Managers nor our community members will have the tools or access this kind of information about your app or the portals it’s installed in.

Best,

Jaycee