Skip to content

Probe eBay Sell with seller privileges instead of policies - #1504

Merged
helpcodeai merged 1 commit into
mainfrom
fix/ebay-sell-probe-privileges
Nov 4, 2026
Merged

helpcodeai merged 1 commit into
mainfrom
fix/ebay-sell-probe-privileges

Conversation

@helpcodeai

Copy link
Copy Markdown
Contributor

Summary

The eBay Sell setup check called ebay_sell_list_fulfillment_policies. eBay answers that endpoint with error 20403 "User is not eligible for Business Policy" for every seller who does not use Business Policies. For those sellers the connection works (orders, privileges and inventory read fine), but the setup page reported a failed check. A seller in support created a second connector because of it.

Changes

  • probe and healthcheckPath now use ebay_sell_get_privileges / GET /sell/account/v1/privilege, which every seller account can read with the sell.account scope the connector already requests.
  • The instructions explain the 20403 answer of the two policy tools and how to opt in to Business Policies.
  • The static spec pins the probe to the privilege endpoint.

Cloud and self-hosted behave the same: the adapter JSON is shared. On Cloud, the boot catalog sync applies the new instructions to installed connectors whose instructions were not edited.

Type

  • Bug fix

Testing

  • Added/updated unit tests

Commands run in a worktree of this branch:

  • node scripts/validate-adapters.mjs --warn (repo root): 709 passed, 0 failed; no warning for ebay-sell.
  • node scripts/regenerate-catalog.mjs (repo root): no diff in catalog.ts.
  • npx prisma generate and then npx jest --maxWorkers=4 src/adapters/intl/ebay-sell src/connectors/connector-authorization.spec.ts src/adapters/catalog (packages/backend): 5 suites passed, 14859 tests passed, 1 skipped (the live spec). catalog-summary.spec.ts did not compile locally: @types/picomatch is missing in the shared node_modules. That is a baseline environment issue left to CI, not a regression.

Checklist

  • My code follows the existing code style
  • I have tested my changes locally
  • I have updated documentation (if applicable)
  • This PR has a descriptive title

The setup check listed fulfilment policies, which eBay refuses with error
20403 for sellers who do not use Business Policies. Those connectors work,
but the setup page reported them as broken. Probe the privilege endpoint,
which every seller account can read, and document the 20403 answer of the
two policy tools.
@helpcodeai
helpcodeai requested a review from D3nisty as a code owner November 4, 2026 09:16
@helpcodeai
helpcodeai enabled auto-merge (squash) November 4, 2026 09:16
@helpcodeai
helpcodeai merged commit 62a4f9d into main Nov 4, 2026
15 checks passed
@helpcodeai
helpcodeai deleted the fix/ebay-sell-probe-privileges branch November 4, 2026 09:31
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant