# Primic API return 500 from one second to another

**URL:** <https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796>\
**Category:** Developing with Prismic\
**Tags:** graphql\
**Created:** [June 12, 2020, 6:57pm UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796 "2020-06-12T18:57:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjost](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@cjost](https://community.prismic.io/u/cjost)\
**Post date:** [June 12, 2020, 6:57pm UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/1 "2020-06-12T18:57:49Z")

</div>

Hello,

I am using prismic in combination with gatsby and from one moment to another the GraphQL API is returning 500 errors.  
I would assume that I've not broken the queries since it's a 5xx and not 4xx which would indicate that I did a client mistake.

I've the feeling that the error is related to that I've added a type called `Meta` in my repository.

```
`Schema does not pass validation. Violations:\n\nType name 'Meta' is used for several conflicting GraphQL ObjectTypes based on different classes. Conflict found in a field 'node' of 'MetaConnectionEdge' type. One possible fix is to use ObjectTypeName like this: deriveObjectType[Foo, Bar](ObjectTypeName(\"OtherBar\")) to avoid that two ObjectTypes have the same name.`

```

I already deleted the type, but the error does still exist. How can I fix that?

Cheers,  
Chris

---

<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 15, 2020, 3:36pm UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/3 "2020-06-15T15:36:56Z")

</div>

Hi Chris,

I’m sorry to hear you are having this issue. You were right to delete the Meta type that you created which cause this conflict. I suspect the issue now is related to an issue some people where having with Types not fully deleting.

I can check this for you in your send me a private message with your repo URL.

Thanks.

---

<div class="post-metadata">

**Author:** ![web1](https://avatars.discourse-cdn.com/v4/letter/w/b5ac83/32.png) [@web1](https://community.prismic.io/u/web1)\
**Post date:** [August 19, 2020, 8:26am UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/4 "2020-08-19T08:26:20Z")

</div>

I’ve got the same Problem as @cjost. I’ve already deleted the custom type, but it still doesn’t work. Who could help me with this?

Maybe it would be great for future, that we can’t create a custom type called ‘meta’? 🙂

Cheers

---

<div class="post-metadata">

**Author:** ![cjost](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@cjost](https://community.prismic.io/u/cjost)\
**Post date:** [August 19, 2020, 9:00am UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/5 "2020-08-19T09:00:39Z")

</div>

@web1 it was related to the mentioned issue

> I suspect the issue now is related to an issue some people where having with Types not fully deleting.

I've created a whole new repository, because it was faster than the answer here :D  
And I had the feeling that the type was not deleted correctly.

Maybe you write @Phil with your repository URL and they can fix it for you so you are not forced to create a new repository :P

---

<div class="post-metadata">

**Author:** ![web1](https://avatars.discourse-cdn.com/v4/letter/w/b5ac83/32.png) [@web1](https://community.prismic.io/u/web1)\
**Post date:** [August 19, 2020, 10:06am UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/6 "2020-08-19T10:06:44Z")

</div>

Thank you for your reply. In my case a new repository is not an option. 🙃

---

<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:** [August 31, 2020, 10:46am UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/8 "2020-08-31T10:46:13Z")

</div>

Hi @web1,

Sorry about the delay in the reply I was away for vacation. 🕶 (I’ll need to implement something on the forum to handle this case. 🧐)

I’m going to check with the dev team to see if this issue has been resolved.

If not I can duplicate your repository for you as a workaround so you don’t lose your data, would this solution work for you?

---

<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:** [September 24, 2020, 12:50pm UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/12 "2020-09-24T12:50:09Z")

</div>

This issue has been resolved and fixed. The fix should be available for all users.

If anyone is still seeing the issue please reach out to the activations team as described here and we can activate it for you:

> [@Feature Activations (GraphQL, Integration Fields etc.)](https://community.prismic.io/t/feature-activations-graphql-integration-fields-etc/847):
>
> This thread details how to request activation of the following Prismic features: Integration Fields Environments (Platinum Plan) You can also ask for these 'action' requests: Main locale changes Deleting user accounts Media removal requests Features that are activated by default (Need activated on legacy repos): GraphQL (Visit [https://your-repo-name.prismic.io/graphql](https://your-repo-name.prismic.io/graphql) to see your GraphQL browser) New toolbar/edit button (If the preview script in your repo has new=true, you are up to date…

Thanks.

---

<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:** [September 24, 2020, 12:50pm UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/13 "2020-09-24T12:50:15Z")

</div>



---

<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, 5:18pm UTC](https://community.prismic.io/t/primic-api-return-500-from-one-second-to-another/796/14 "2021-12-09T17:18:45Z")

</div>


