# Nextjs: PrismicError: An invalid API response was returned

**URL:** <https://community.prismic.io/t/nextjs-prismicerror-an-invalid-api-response-was-returned/15055>\
**Category:** Developing with Prismic\
**Tags:** nextjs\
**Created:** [January 25, 2024, 11:56am UTC](https://community.prismic.io/t/nextjs-prismicerror-an-invalid-api-response-was-returned/15055 "2024-01-25T11:56:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marianlukavyi](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@marianlukavyi](https://community.prismic.io/u/marianlukavyi)\
**Post date:** [January 25, 2024, 11:56am UTC](https://community.prismic.io/t/nextjs-prismicerror-an-invalid-api-response-was-returned/15055/1 "2024-01-25T11:56:11Z")

</div>

I've gone over everything, but I can't figure out the issue. Everything was working fine a few days ago, but now I'm encountering this error. What could be the problem?

 ![Screenshot 2024-01-25 at 13.54.52](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/e/eab152ac18bfe71f4673e8e65ead518cafa9928f.png)

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [January 25, 2024, 12:06pm UTC](https://community.prismic.io/t/nextjs-prismicerror-an-invalid-api-response-was-returned/15055/2 "2024-01-25T12:06:08Z")

</div>

We're tracking the issue here:

> [@Error: An invalid API response was returned](https://community.prismic.io/t/error-an-invalid-api-response-was-returned/15050):
>
> Hello, I cannot build and I have even seen fatal production errors since about 11:30 am in France (10:30 am UTC). The local build will fail on different document types. Is the site down? Thanks, Anne

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [January 25, 2024, 12:06pm UTC](https://community.prismic.io/t/nextjs-prismicerror-an-invalid-api-response-was-returned/15055/3 "2024-01-25T12:06:12Z")

</div>

closed on January 25, 2024, 12:06pm UTC, flag & select 'Something Else' to reopen.


