Internal error when executing a workflow within a workflow, but the child workflow itself succeeds

I'm seeing some confusing behavior with a workflow that I have executing within another workflow. Here are the details:

  • Within the primary workflow, I execute in a loop a workflow that performs a specific step on an array of objects.

  • When I check the logs for the latter workflow, the full run is successful. The response shows the expected data, and there are no errors.

  • Yet, within the top-level workflow. I get one of the following errors:

    • {"data":null,"metadata":{},"error":"Internal Error running a block: An internal server error occurred"}

    • Can't reproduce now, but was previously being told I had a timeout error at 180000 ms for the filterOutIfSpammy step

      • This was especially strange since I have the timeout for this step set to the maximum of 600000, and in the child workflow, I see that it completed in ~4 minutes.
  • Note: When I've run the child checker workflow with less values in the input array, the workflow returns the response to the parent workflow without any issues.

I'm stumped at how to troubleshoot this any further, so any help would be much appreciated. Thanks!