Issue with create_update mutation

Hi,
I’m facing an issue with this mutation:

mutation saveUpdate ($item_ids:Int, $body: String){
  create_update (item_id: $item_ids, body: $body) {
    id
    text_body
    body
    created_at
  }
}

And the answer I’m getting is:

{
  "errors": [
    {
      "message": "An operation name is required"
    }
  ],
  "account_id": XXXXXX
}

What am I doing wrong?

Thanks
Carlos

If you change saveUpdate to create_update, does that resolve the issue?

Nope, it’s still the same. Thanks for the suggestion in any case!

Strange. You might want to write to app support so that they can look into the issue

1 Like

Hello there,

Matias here!

This is strange.

I just tried this mutation in my Playground and it worked for me.

Could you try hardcoding the IDs instead of using variables?

Looking forward to hearing from you :slightly_smiling_face:

Cheers,
Matias