# Getting an output error message

**URL:** <https://discuss.ai.google.dev/t/getting-an-output-error-message/6881>\
**Category:** Google AI Studio\
**Tags:** ai-studio\
**Created:** [July 2, 2024, 7:33pm UTC](https://discuss.ai.google.dev/t/getting-an-output-error-message/6881 "2024-07-02T19:33:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cloudsurfer](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/cloudsurfer/32/5862_2.png) [@Cloudsurfer](https://discuss.ai.google.dev/u/Cloudsurfer)\
**Post date:** [July 2, 2024, 7:33pm UTC](https://discuss.ai.google.dev/t/getting-an-output-error-message/6881/1 "2024-07-02T19:33:37Z")

</div>

Getting the the following: \> Output error

> Full output blocked. Edit prompt and retry.

This when generating code.  
Either the output gets cut short or is not generated at all. Also saying “continue” makes the models try the same output and get the same error but it may also produce the next couple of lines of code and after a while of the same thing, they get past the section causing the error and continue on normally.

---

<div class="post-metadata">

**Author:** ![Cloudsurfer](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/cloudsurfer/32/5862_2.png) [@Cloudsurfer](https://discuss.ai.google.dev/u/Cloudsurfer)\
**Post date:** [July 2, 2024, 8:22pm UTC](https://discuss.ai.google.dev/t/getting-an-output-error-message/6881/2 "2024-07-02T20:22:11Z")

</div>

Update:

With code execution turned on, no output is being generated with a consistent 80-100 seconds runtime. Code is js but also had the same problem with python.

---

<div class="post-metadata">

**Author:** ![Logan\_Kilpatrick](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/logan_kilpatrick/32/129_2.png) [@Logan\_Kilpatrick](https://discuss.ai.google.dev/u/Logan_Kilpatrick)\
**Post date:** [July 2, 2024, 11:37pm UTC](https://discuss.ai.google.dev/t/getting-an-output-error-message/6881/3 "2024-07-02T23:37:52Z")

</div>

Hey! In [aistudio.google.com](http://aistudio.google.com), we don’t run JS code, it only supports Python code.

---

<div class="post-metadata">

**Author:** ![Cloudsurfer](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/cloudsurfer/32/5862_2.png) [@Cloudsurfer](https://discuss.ai.google.dev/u/Cloudsurfer)\
**Post date:** [July 3, 2024, 5:34am UTC](https://discuss.ai.google.dev/t/getting-an-output-error-message/6881/4 "2024-07-03T05:34:20Z")

</div>

Thanks, I figured that out eventually. But what’s with the output blocked error even when running with code execution off?
