# \[API\] GraphQL docs mutation examples have broken syntax

**URL:** <https://community.fibery.io/t/api-graphql-docs-mutation-examples-have-broken-syntax/3715>\
**Category:** Bugs & Issues\
**Created:** [December 16, 2022, 10:45am UTC](https://community.fibery.io/t/api-graphql-docs-mutation-examples-have-broken-syntax/3715 "2022-12-16T10:45:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimitri\_S](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/dimitri_s/32/1683_2.png) [@Dimitri\_S](https://community.fibery.io/u/Dimitri_S)\
**Post date:** [December 16, 2022, 10:45am UTC](https://community.fibery.io/t/api-graphql-docs-mutation-examples-have-broken-syntax/3715/1 "2022-12-16T10:45:45Z")

</div>

If you copy paste the example code it won’t work because there is an extra set of parentheses added. I can see this turning people away from adopting the GraphQL API if they aren’t familiar with GraphQL syntax.

Also, the example code should probably be in a code block instead of a code line formatting?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/f/f749db3b2e13d919863ac9178bff3c516f596890.png)

This causes Syntax Error:

```auto
mutation {
    myDbName({id:{is: "AAAA-BBBB-CCCC"}}){
        update(name:"Updated"){message}
    }
}

```

This does not:

```auto
mutation {
    myDbName(id:{is: "AAAA-BBBB-CCCC"}){
        update(name:"Updated"){message}
    }
}

```

---

<div class="post-metadata">

**Author:** ![Polina\_Zenevich](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/polina_zenevich/32/480_2.png) [@Polina\_Zenevich](https://community.fibery.io/u/Polina_Zenevich)\
**Post date:** [December 27, 2022, 4:51pm UTC](https://community.fibery.io/t/api-graphql-docs-mutation-examples-have-broken-syntax/3715/2 "2022-12-27T16:51:36Z")

</div>

Looks like it was fixed 🤗
