mutation customerRecover error unexpected RCURLY

Hi,

I’m getting error on this graphql statement. I’m not sure why it is complaining about the RCURLY. Sample also copied from the documentation. Also, I noticed some from the documentation doesn’t work which is odd.

Please kindly give some advise on what to do. Maybe I missed something.

Documentation Source: https://shopify.dev/docs/api/storefront/2024-01/mutations/customerRecover

Error:

Thank you,

Hey @phdev_amiguel

You’ll need to select at least one field, for example:

customerUserErrors {
  code
  field
  message
}

Hi @SBD ,

I tried your suggestion but different error appear.

Can you confirm you’re hitting the Storefront API, not the Admin API?

e.g. https://{store_name}.myshopify.com/api/2024-01/graphql.json

Hi @SBD

Thank you for pointing at that API. However, after removing the admin. I’ve got an Access Denied error. Please kindly guide me the next action that I need? Thank you in advance.