Skip to content

Etsy: say that shop reviews refuse large offsets - #1503

Merged
helpcodeai merged 2 commits into
mainfrom
fix/etsy-shop-reviews-limits
Nov 4, 2026
Merged

helpcodeai merged 2 commits into
mainfrom
fix/etsy-shop-reviews-limits

Conversation

@helpcodeai

Copy link
Copy Markdown
Contributor

Summary

etsy_get_shop_reviews had no bounds and no note on limit/offset. Etsy treats the reviews endpoint as public and refuses large offsets: Cloud logged "Offset exceeds the maximum allowed for anonymous requests" 6 times in one workspace on 3-4 Nov. Same fix as #1471 for shop section listings.

Changes

  • limit: 1 to 100 (default 25), offset: at least 0, with the "keep it small" note.
  • The description tells the model to narrow with min_created to reach older reviews instead of paging far.

Only packages/backend/src/adapters/intl/etsy.json changes; catalog.ts regenerates without a diff. Cloud and self-hosted behave the same; installed connectors get the new schema after "Apply update" on the connector page.

Type

  • Bug fix
  • New feature
  • Documentation
  • Refactoring
  • Performance improvement
  • Other (describe below)

Testing

  • Added/updated unit tests
  • Tested manually (describe steps below)
  • No tests needed (explain why): adapter text and schema bounds; the catalog specs cover the shape.

From the repo root:

  • node scripts/validate-adapters.mjs --warn → 709 passed, 0 failed, no new Etsy warning
  • node scripts/regenerate-catalog.mjs → no diff

In packages/backend: npx jest src/adapters/catalog.spec.ts src/adapters/intl/etsy --maxWorkers=4 → 14,753 passed

Checklist

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

Related Issues

Follow-up to #1471.

@helpcodeai
helpcodeai requested a review from D3nisty as a code owner November 4, 2026 08:14
@helpcodeai
helpcodeai enabled auto-merge (squash) November 4, 2026 08:14
@helpcodeai
helpcodeai merged commit 6af6b7d into main Nov 4, 2026
14 checks passed
@helpcodeai
helpcodeai deleted the fix/etsy-shop-reviews-limits branch November 4, 2026 10:19
@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