Share via

labs.generativeai() function not working why

Ahmea Saeed Alghamdi 0 Reputation points
2026-03-29T15:41:04.6+00:00

labs.generativeai() function not working why ?it returns an error of "Failed to fetch".

Microsoft 365 and Office | Excel | For home | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. Mr. Trust_A 4,815 Reputation points Volunteer Moderator
    2026-03-29T20:04:22.1333333+00:00

    Hi there,

    The “Failed to fetch” error is usually not caused by the formula itself. The labs.generativeai() function relies on Excel Labs, which is an experimental feature that requires cloud AI service access. This error typically occurs if the feature is not enabled, not supported for your Microsoft 365 license or region, or if the network (VPN, firewall, or antivirus) is blocking the AI service connection. Updating Excel to the latest version and verifying account eligibility usually resolves it, but in some cases the feature may simply not be available for the account yet.

    Thank you

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.