# 503 error when query API

**URL:** <https://community.prismic.io/t/503-error-when-query-api/5926>\
**Category:** Developing with Prismic\
**Created:** [June 24, 2021, 6:42am UTC](https://community.prismic.io/t/503-error-when-query-api/5926 "2021-06-24T06:42:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![joakim](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@joakim](https://community.prismic.io/u/joakim)\
**Post date:** [June 24, 2021, 6:42am UTC](https://community.prismic.io/t/503-error-when-query-api/5926/1 "2021-06-24T06:42:58Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/4/498e354c5600134330828d19bdd36ed92fb38221.png)

I get the following message trying to init my NuxtJS api and query prismic API.  
I have not gotten this error before thus im clueless as to what is causing it.  
I cant even access the api in the browser.

Error: Unexpected status code [503] on URL [https://nnac.cdn.prismic.io/api/v2/documents/search?page=1&pageSize=100&access\_token=MC5ZTkhYQnhJQUFDOEFZM3Bv.77-9E2tj77-977-977-9eu-\_ve-\_ve-\_vQfvv70K77-9Ye-\_ve-\_ve-\_vS3vv70h77-9dO-\_ve-\_vUTvv73vv73vv73vv73vv70&lang=\*&ref=YNHrSBIAACwA3uLA&q=[[any(document.type%2C%20["page"%2C"operator"])]]](https://nnac.cdn.prismic.io/api/v2/documents/search?page=1&pageSize=100&access_token=MC5ZTkhYQnhJQUFDOEFZM3Bv.77-9E2tj77-977-977-9eu-_ve-_ve-_vQfvv70K77-9Ye-_ve-_ve-_vS3vv70h77-9dO-_ve-_vUTvv73vv73vv73vv73vv70&lang=*&ref=YNHrSBIAACwA3uLA&q=%5B%5Bany(document.type%2C%20%5B%22page%22%2C%22operator%22%5D)%5D%5D)

---

<div class="post-metadata">

**Author:** ![jasondejesus](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jasondejesus](https://community.prismic.io/u/jasondejesus)\
**Post date:** [June 24, 2021, 6:47am UTC](https://community.prismic.io/t/503-error-when-query-api/5926/2 "2021-06-24T06:47:52Z")

</div>

I am getting the same error on all my builds. I also get an error when trying to access the GraphIQL editor at /graphql

---

<div class="post-metadata">

**Author:** ![joakim](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@joakim](https://community.prismic.io/u/joakim)\
**Post date:** [June 24, 2021, 6:50am UTC](https://community.prismic.io/t/503-error-when-query-api/5926/3 "2021-06-24T06:50:20Z")

</div>

Are you able to access the API directly in the browser?

---

<div class="post-metadata">

**Author:** ![jasondejesus](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jasondejesus](https://community.prismic.io/u/jasondejesus)\
**Post date:** [June 24, 2021, 8:34am UTC](https://community.prismic.io/t/503-error-when-query-api/5926/4 "2021-06-24T08:34:25Z")

</div>

Nope, I get the same error page as you and a Page Not Found for graphql in the browser.

---

<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:** [June 24, 2021, 9:15am UTC](https://community.prismic.io/t/503-error-when-query-api/5926/5 "2021-06-24T09:15:06Z")

</div>

Hey Everyone,

This should be fixed now. It was little bug regarding the api endpoint of newly created repositories.

Let me know if you're still seeing issues.

Also, welcome to the community both of you!

Thanks.

---

<div class="post-metadata">

**Author:** ![jasondejesus](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jasondejesus](https://community.prismic.io/u/jasondejesus)\
**Post date:** [June 24, 2021, 1:56pm UTC](https://community.prismic.io/t/503-error-when-query-api/5926/7 "2021-06-24T13:56:29Z")

</div>

Awesome thanks! It's working again.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [June 25, 2021, 1:57pm UTC](https://community.prismic.io/t/503-error-when-query-api/5926/8 "2021-06-25T13:57:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 12:38pm UTC](https://community.prismic.io/t/503-error-when-query-api/5926/9 "2021-12-09T12:38:54Z")

</div>


