# Gemini Deep Research Agent API error

**URL:** <https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226>\
**Category:** Gemini API\
**Tags:** api\
**Created:** [February 4, 2026, 6:53am UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226 "2026-02-04T06:53:02Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taeyoung\_Kim1](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/taeyoung_kim1/32/22949_2.png) [@Taeyoung\_Kim1](https://discuss.ai.google.dev/u/Taeyoung_Kim1)\
**Post date:** [February 4, 2026, 6:53am UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/1 "2026-02-04T06:53:02Z")

</div>

"I am currently testing the Gemini Deep Research Agent API. I encountered the following error while running the sample code provided on the API website. Could you explain the cause?

-–error log--------------------------------------------------------------------------------------------------------------------

PS D:\gemini\> python .\interactions\_api\_test.py

D:\gemini\interactions\_api\_test.py:167: UserWarning: Interactions usage is experimental and may change in future versions.

interaction = client.interactions.create(

Traceback (most recent call last):

File “D:\gemini\interactions\_api\_test.py”, line 234, in

```
deep_research3()

```

File “D:\gemini\interactions\_api\_test.py”, line 167, in deep\_research3

```
interaction = client.interactions.create(

              ^^^^^^^^^^^^^^^^^^^^^^^^^^^

```

File “C:\Python\Python312\Lib\site-packages\google\genai\_interactions\_utils\_utils.py”, line 298, in wrapper

```
return func(\*args, \*\*kwargs)

       ^^^^^^^^^^^^^^^^^^^^^

```

File “C:\Python\Python312\Lib\site-packages\google\genai\_interactions\resources\interactions.py”, line 416, in create

```
return self.\_post(

       ^^^^^^^^^^^

```

File “C:\Python\Python312\Lib\site-packages\google\genai\_interactions\_base\_client.py”, line 1301, in post

```
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))

                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

```

File “C:\Python\Python312\Lib\site-packages\google\genai\_interactions\_base\_client.py”, line 1088, in request

```
raise self.\_make_status_error_from_response(err.response) from None

```

google.genai.\_interactions.BadRequestError: Error code: 400 - {‘error’: {‘message’: ‘There was a problem processing your request. You will not be charged.’, ‘code’: ‘invalid\_request’}}

---

<div class="post-metadata">

**Author:** ![amine-3shake](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/amine-3shake/32/90613_2.png) [@amine-3shake](https://discuss.ai.google.dev/u/amine-3shake)\
**Post date:** [February 4, 2026, 7:01am UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/2 "2026-02-04T07:01:42Z")

</div>

I get the same result using the curl sample from the docs:

```bash
curl -X POST "https://generativelanguage.googleapis.com/v1alpha/interactions" \
-H "Content-Type: application/json" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-d '{
    "input": "Research the history of Google TPUs.",
    "agent": "deep-research-pro-preview-12-2025",
    "background": true
}'

{"error":{"message":"There was a problem processing your request. You will not be charged.","code":"invalid_request"}}% 

```

---

<div class="post-metadata">

**Author:** ![akeel\_lashley](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/akeel_lashley/32/38894_2.png) [@akeel\_lashley](https://discuss.ai.google.dev/u/akeel_lashley)\
**Post date:** [February 4, 2026, 9:05am UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/3 "2026-02-04T09:05:58Z")

</div>

Same here! If someone could get back to us on this that would be great!

---

<div class="post-metadata">

**Author:** ![yagginov](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/yagginov/32/90645_2.png) [@yagginov](https://discuss.ai.google.dev/u/yagginov)\
**Post date:** [February 4, 2026, 9:30am UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/4 "2026-02-04T09:30:05Z")

</div>

I have the same problem. If someone solves it, I will be very happy.)

---

<div class="post-metadata">

**Author:** ![yagginov](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/yagginov/32/90645_2.png) [@yagginov](https://discuss.ai.google.dev/u/yagginov)\
**Post date:** [February 4, 2026, 11:11am UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/5 "2026-02-04T11:11:07Z")

</div>

It looks like the api has come to life.

---

<div class="post-metadata">

**Author:** ![Jon\_Matthews](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jon_matthews/32/87966_2.png) [@Jon\_Matthews](https://discuss.ai.google.dev/u/Jon_Matthews)\
**Post date:** [February 5, 2026, 3:47pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/6 "2026-02-05T15:47:34Z")

</div>

@Taeyoung_Kim1 I tried to reproduce this using the [example Python code](https://ai.google.dev/gemini-api/docs/deep-research#python). It ran fine. If you keep getting the error, my best advice is to update your SDK client.

@amine-3shake I tried the latest [rest example code](https://ai.google.dev/gemini-api/docs/deep-research#rest). That also worked fine, but note it now has _/v1beta/_, whereas your code has _/v1alpha/_.

---

<div class="post-metadata">

**Author:** ![Andrii1](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/andrii1/32/31584_2.png) [@Andrii1](https://discuss.ai.google.dev/u/Andrii1)\
**Post date:** [March 8, 2026, 12:52pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/7 "2026-03-08T12:52:29Z")

</div>

I got the same thing today. So creating an interaction returns a 200 OK response. However, pulling the result (v1beta/interactions/{id}) returns a 403 Forbidden (“code”: “permission\_denied”). Interestingly, some IDs are possible to get, so something has happened with the newly created researches. Attached the API Errors percent per method.

Edit: I found that the created ID becomes available after 20–30 minutes.

 ![{B78EACC2-3FF3-4D5D-A815-29065D26A25C}](https://d3qe71uytubmmx.cloudfront.net/original/3X/8/3/83081c096731eac28c7d47e1ffc8f3a3ccebe61a.png)

---

<div class="post-metadata">

**Author:** ![William\_Bourgeois](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/william_bourgeois/32/101853_2.png) [@William\_Bourgeois](https://discuss.ai.google.dev/u/William_Bourgeois)\
**Post date:** [March 8, 2026, 7:06pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/8 "2026-03-08T19:06:28Z")

</div>

👑 trying it with a 30min delay. Thanks!

---

<div class="post-metadata">

**Author:** ![Andrii1](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/andrii1/32/31584_2.png) [@Andrii1](https://discuss.ai.google.dev/u/Andrii1)\
**Post date:** [March 8, 2026, 7:45pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/9 "2026-03-08T19:45:43Z")

</div>

In my case, 3/3 IDs are dead (status code ‘in\_progress’). So, if you are experiencing the same issue, it seems it is not only an issue on my side.

---

<div class="post-metadata">

**Author:** ![William\_Bourgeois](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/william_bourgeois/32/101853_2.png) [@William\_Bourgeois](https://discuss.ai.google.dev/u/William_Bourgeois)\
**Post date:** [March 8, 2026, 9:33pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/10 "2026-03-08T21:33:07Z")

</div>

Even after a 30min delay it does not work. I hope they fix it soon.

---

<div class="post-metadata">

**Author:** ![Dhanur\_Sehgal](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/dhanur_sehgal/32/101540_2.png) [@Dhanur\_Sehgal](https://discuss.ai.google.dev/u/Dhanur_Sehgal)\
**Post date:** [March 9, 2026, 9:09am UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/11 "2026-03-09T09:09:18Z")

</div>

Same 403 error despite legit keys!!

Error details: “There was a problem processing your request. You will not be charged.”

---

<div class="post-metadata">

**Author:** ![Andrii1](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/andrii1/32/31584_2.png) [@Andrii1](https://discuss.ai.google.dev/u/Andrii1)\
**Post date:** [March 9, 2026, 12:02pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/12 "2026-03-09T12:02:43Z")

</div>

The same, still 403. My favorite company - Google

---

<div class="post-metadata">

**Author:** ![patrick864](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/patrick864/32/34632_2.png) [@patrick864](https://discuss.ai.google.dev/u/patrick864)\
**Post date:** [March 9, 2026, 1:47pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/13 "2026-03-09T13:47:48Z")

</div>

I am having the same issue - no help from Gemini

---

<div class="post-metadata">

**Author:** ![philschmid](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/philschmid/32/93118_2.png) [@philschmid](https://discuss.ai.google.dev/u/philschmid)\
**Post date:** [March 9, 2026, 1:49pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/14 "2026-03-09T13:49:32Z")

</div>

Thank you all for reporting and sorry for the inconvenience. Investigating and hoping to report back soon.

---

<div class="post-metadata">

**Author:** ![patrick864](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/patrick864/32/34632_2.png) [@patrick864](https://discuss.ai.google.dev/u/patrick864)\
**Post date:** [March 9, 2026, 1:51pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/15 "2026-03-09T13:51:00Z")

</div>

Has the schema changed today with the migration?

---

<div class="post-metadata">

**Author:** ![philschmid](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/philschmid/32/93118_2.png) [@philschmid](https://discuss.ai.google.dev/u/philschmid)\
**Post date:** [March 9, 2026, 4:35pm UTC](https://discuss.ai.google.dev/t/gemini-deep-research-agent-api-error/121226/16 "2026-03-09T16:35:33Z")

</div>

This should be fixed. If you are still running into issues please ping here.
