A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
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