# Video content supplied \*inline\* causes server fault

**URL:** <https://discuss.ai.google.dev/t/video-content-supplied-inline-causes-server-fault/2431>\
**Category:** Gemini API\
**Tags:** gemini-15, api, bug\
**Created:** [May 16, 2024, 8:53pm UTC](https://discuss.ai.google.dev/t/video-content-supplied-inline-causes-server-fault/2431 "2024-05-16T20:53:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OrangiaNebula](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/orangianebula/32/480_2.png) [@OrangiaNebula](https://discuss.ai.google.dev/u/OrangiaNebula)\
**Post date:** [May 16, 2024, 8:53pm UTC](https://discuss.ai.google.dev/t/video-content-supplied-inline-causes-server-fault/2431/1 "2024-05-16T20:53:45Z")

</div>

The API as it will be mostly used (via File API) works fine for video.  
I tried _inline_ video, the JSON structure of the `generateContent` request is then

```auto

{
    "contents": [
        {
            "parts": [
                {
                    "text": "How was the video made? Describe what is shown."
                },
                {
                    "inline_data": {
                        "mimeType": "video/mp4",
                        "data": "AAAAHGZ0eXBNNFYgAAAAAWl (long sequence)

```

That produces a reliable HTTP status 500 server response. The request is only 16 MB, the HTTP protocol isn’t the barrier.

Inline data works for images, and nothing I could find in the documentation states that video is second-class media compared to images, therefore applied bug tag. Either the documentation should specify that video isn’t allowed inline, or (preferably) the server should accept video clips of reasonable duration supplied inline.

---

<div class="post-metadata">

**Author:** ![mhjacobson](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mhjacobson/32/1190_2.png) [@mhjacobson](https://discuss.ai.google.dev/u/mhjacobson)\
**Post date:** [May 23, 2024, 6:29pm UTC](https://discuss.ai.google.dev/t/video-content-supplied-inline-causes-server-fault/2431/2 "2024-05-23T18:29:27Z")

</div>

I’m having the same problem. I’d be interested to know from Google if this is just a bug that they expect to be resolved soon or if, instead, this use of the API is not supported. Thanks!

I should mention that I’ve also tried splitting the text prompt and the image into multiple `Content` objects. The same error results.

I’m using `https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:generateContent`.

---

<div class="post-metadata">

**Author:** ![system](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/system/32/1_2.png) [@system](https://discuss.ai.google.dev/u/system)\
**Post date:** [November 5, 2026, 6:16pm UTC](https://discuss.ai.google.dev/t/video-content-supplied-inline-causes-server-fault/2431/3 "2026-11-05T18:16:19Z")

</div>

Closed on November 5, 2026, 6:16pm UTC

This thread was automatically closed 60 days after the last reply. If you are running into an issue, please create a new post.
