Publishing Product Error in GraphQL

Hey, im currently working on a Workflow with Shopify on GraphQL and my main problem is that after i create the product → update some infos → try to publish into the shop, i get two responses:

First one:

{
  "errors": [
    {
      "message": "Your app doesn't have a publication for this shop.",
      "locations": [
        {
          "line": 12,
          "column": 7
        }
      ],
      "path": [
        "publishablePublish",
        "publishable",
        "publishedOnCurrentPublication"
      ]
    }
  ],
  "data": {
    "publishablePublish": {
      "publishable": null,
      "userErrors": []
    }
  },
  "extensions": {
    "cost": {
      "requestedQueryCost": 10,
      "actualQueryCost": 10,
      "throttleStatus": {
        "maximumAvailable": 2000,
        "currentlyAvailable": 1990,
        "restoreRate": 100
      }
    }
  }
}

The second one, telling that worked and i can see the product on the list:

{
  "json": {
    "data": {
      "publications": {
        "edges": [
          {
            "node": {
              "id": "gid://shopify/Publication/143495168228",
              "name": "Online Store"
            }
          },
          {
            "node": {
              "id": "gid://shopify/Publication/143495364836",
              "name": "Point of Sale"
            }
          }
        ]
      }
    },
    "extensions": {
      "cost": {
        "requestedQueryCost": 3,
        "actualQueryCost": 3,
        "throttleStatus": {
          "maximumAvailable": 2000,
          "currentlyAvailable": 1997,
          "restoreRate": 100
        }
      }
    }
  },
  "pairedItem": {
    "item": 0
  }
}

The problem is: I just need to get a success response, not two responses and one being an error!

I’m using this mutation:

mutation PublishProductToOnlineStore {
  publishablePublish(
    id: "gid://shopify/Product/10320701980945"
    input: {
      publicationId: "gid://shopify/Publication/266422747409"
    }
  ) {
    publishable {
      publishedOnCurrentPublication
    }
    userErrors {
      field
      message
    }
  }
}

Maybe there’s no scope of read_publications, write_publications. You need to add scope in your shopify.app.toml file.

I’m using just the Shopify web and sending requests with GraphiQL, but i selected all the scopes that is available.