---
id: change/bcapps/10417
type: change
title: "#10417 [Shopify] Pace raw-text GraphQL calls to prevent excessive throttling"
summary: The Shopify connector now paces GraphQL requests issued through the raw-text overload to prevent excessive throttling, by using an estimated cost value instead of zero.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit shpfy communication mgt.
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:46.868Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 19796c4e75f222945f88f9f517ba440ed7605bfc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10417
    title: "microsoft/BCApps#10417: [Shopify] Pace raw-text GraphQL calls to prevent excessive throttling"
    date: "2026-08-24"
    commit: 19796c4e75f222945f88f9f517ba440ed7605bfc
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/30103
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10417
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10417
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-24T16:51:06Z"
author: onbuyuka
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 1
  additions: 1
  deletions: 1
  al: 1
apps:
  - Shopify
objects_touched:
  - key: codeunit/30103
    page: codeunit/30103
    type: codeunit
    id: 30103
    name: Shpfy Communication Mgt.
    app: Shopify
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 647306
systems:
  - integration
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10417 [Shopify] Pace raw-text GraphQL calls to prevent excessive throttling

> The Shopify connector now paces GraphQL requests issued through the raw-text overload to prevent excessive throttling, by using an estimated cost value instead of zero.

[Pull request](https://github.com/microsoft/BCApps/pull/10417) · merged into `main` (BC30) on 2026-08-24 by onbuyuka · 1 file (+1 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- The single-argument ExecuteGraphQL(Text) overload previously hard-coded ExpectedCost to 0, causing no pacing between requests
- This resulted in rapid bucket depletion and retry loops with no back-off on shops with small GraphQL cost buckets
- The fix sets ExpectedCost to 10 (the average Shopify mutation cost) to restore pre-request and inter-retry pacing
- The retry loop now benefits from pacing without requiring changes to its logic
- Data integrity is not affected; sync throughput is improved by reducing throttling events
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 30103 "Shpfy Communication Mgt."](../../objects/codeunit/30103.md), Shopify: modified

## Context

- Work items: AB#647306
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
