# How to standardize error schema in Apollo grpahql

**URL:** <https://community.apollographql.com/t/how-to-standardize-error-schema-in-apollo-grpahql/6234>\
**Category:** Server\
**Tags:** server\
**Created:** [May 8, 2023, 1:02am UTC](https://community.apollographql.com/t/how-to-standardize-error-schema-in-apollo-grpahql/6234 "2023-05-08T01:02:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankit9787](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/ankit9787/32/4124_2.png) [@ankit9787](https://community.apollographql.com/u/ankit9787)\
**Post date:** [May 8, 2023, 1:02am UTC](https://community.apollographql.com/t/how-to-standardize-error-schema-in-apollo-grpahql/6234/1 "2023-05-08T01:02:56Z")

</div>

Hi, We know that in case of error, we have an error object below data object in response and it has certain fields but can we standardize the format that irrespective of error thrown I want to show error object in certain manner only like with certain attributes everytime ?

---

<div class="post-metadata">

**Author:** ![Justin\_Gonzalez](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/justin_gonzalez/32/5359_2.png) [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)\
**Post date:** [February 6, 2025, 8:48pm UTC](https://community.apollographql.com/t/how-to-standardize-error-schema-in-apollo-grpahql/6234/2 "2025-02-06T20:48:57Z")

</div>


