# Error when generating AI field values

**URL:** https://community.baserow.io/t/error-when-generating-ai-field-values/10256
**Category:** Technical Help
**Tags:** ai
**Created:** [May 20, 2025, 8:58am UTC](https://community.baserow.io/t/error-when-generating-ai-field-values/10256 "2025-05-20T08:58:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![simon.scullion](https://community.baserow.io/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@simon.scullion](https://community.baserow.io/u/simon.scullion)
#### Post date: [May 20, 2025, 8:58am UTC](https://community.baserow.io/t/error-when-generating-ai-field-values/10256/1 "2025-05-20T08:58:20Z")

</div>

### Are you using our SaaS platform ([Baserow.io](http://Baserow.io)) or self-hosting Baserow?

SaaS

### What are the exact steps to reproduce this issue?

Hi,

I am hitting the following error when trying to generate AI field values:

AI value generation failed  
Please check your API\_KEY and verify the selected model.

I have configured my OpenAI API key and entered gpt-4o-mini in workspace settings (I have also tried using different models).

The AI field configuration allows me to select OpenAI and the model correctly. The field saves, and the “Generate” button is available. When clicking generate, the above error is generated.

How can I go about identifying where the issue is?

Thanks in advance!

---

<div class="post-metadata">

### Author: ![cwinhall](https://community.baserow.io/user_avatar/community.baserow.io/cwinhall/32/2122_2.png) [@cwinhall](https://community.baserow.io/u/cwinhall)
#### Post date: [May 20, 2025, 11:01am UTC](https://community.baserow.io/t/error-when-generating-ai-field-values/10256/2 "2025-05-20T11:01:14Z")

</div>

Hi @simon.scullion, can you double check that your api key is active and has funds available to it to be used?

---

<div class="post-metadata">

### Author: ![simon.scullion](https://community.baserow.io/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@simon.scullion](https://community.baserow.io/u/simon.scullion)
#### Post date: [May 21, 2025, 5:49pm UTC](https://community.baserow.io/t/error-when-generating-ai-field-values/10256/3 "2025-05-21T17:49:32Z")

</div>

Thanks, we had indeed run out of credit via some dev work elsewhere.

Apologies for having you point me to check the basic stuff!!

---

<div class="post-metadata">

### Author: ![system](https://community.baserow.io/user_avatar/community.baserow.io/system/32/9_2.png) [@system](https://community.baserow.io/u/system)
#### Post date: [May 16, 2026, 5:50pm UTC](https://community.baserow.io/t/error-when-generating-ai-field-values/10256/4 "2026-05-16T17:50:08Z")

</div>

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.
