Can't edit order even after the `write_order_edits` is availeble

So, when I query GraphQL

query {
  app {
    availableAccessScopes {
      handle
    }
  }
}

It says that write_order_edits is available. But when I try to mutate an order using

mutation EditOrder {
   orderEditBegin(id: "gid://shopify/Order/1234") {
    calculatedOrder {
      id
    }
  }
}

It throws me, Access denied for orderEditBegin field. Required access: write_order_edits access scope. Am I missing something?

Hello Abidhasan, the issue is likely caused by the app not updating the scopes. Have you tried reinstalling the app?