Skip to content

Fix Apify API errors messages and return them instead of the generic one #263

@MQ37

Description

@MQ37
{"time":"2025-09-04T14:27:38.468Z","level":"ERROR","msg":"Error calling actor","error":{"name":"ApifyApiError","message":"Monthly usage hard limit exceeded","stack":"ApifyApiError: Monthly usage hard limit exceeded\n

In the case above the generic "An error occurred while calling the tool." is returned instead of the Apify error mesage since the if (error instanceof ApifyApiError) { is not probably working correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    high priorityDo this ASAP! This is for mission-critical work or work that blocks other teams in their work.t-aiIssues owned by the AI team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions