秋田预测市场 · Discord 审计

市场Slug可变导致API返回404错误

2026-06-26 · Polymarket · 2 条相关讨论

Cvijan 2026-06-26 19:08:57

Critical API bug – mutable market slugs Market ID: 1630444 Condition ID: 0xb60c044bba6f7958768691345df1e102448a5b7ef16e4a08879bb10483fb4567 Question: “Will Neymar play in the World Cup?” Observed behavior: Initial Gamma API response returned slug: will-neymar-play-in-the-2026-fifa-world-cup-for-brazil Later, the same market returned a different slug: will-neymar-play-in-the-world-cup No redirect, no alias, no deprecation signal. Impact: Old slug now returns 404 across: • /markets?slug= • /markets/slug/{slug} • /events/slug/{slug} • website URLs But the image/icon URL still contains the old slug, meaning the rename is inconsistent internally. (https://polymarket-upload.s3.us-east-2.amazonaws.com/will-neymar-play-in-the-2026-fifa-world-cup-for-brazil-mDv_mHZ77TzH.jpg) Why this breaks integrations: Slug is used as a primary lookup key. No mechanism exists to detect a rename or recover the original slug. This caused a live order to fail with “market not found” for a user holding a resolved position.

Critical API bug – mutable market slugs Market ID: 1630444 Condition ID: 0xb60c044bba6f7958768691345df1e102448a5b7ef16e4a08879bb10483fb4567 Question: “Will Neymar play in the World Cup?” Observed behavior: Initial Gamma API response returned slug: will-neymar-play-in-the-2026-fifa-world-cup-for-brazil Later, the same market returned a different slug: will-neymar-play-in-the-world-cup No redirect, no alias, no deprecation signal. Impact: Old slug now returns 404 across: • /markets?slug= • /markets/slug/{slug} • /events/slug/{slug} • website URLs But the image/icon URL still contains the old slug, meaning the rename is inconsistent internally. (https://polymarket-upload.s3.us-east-2.amazonaws.com/will-neymar-play-in-the-2026-fifa-world-cup-for-brazil-mDv_mHZ77TzH.jpg) Why this breaks integrations: Slug is used as a primary lookup key. No mechanism exists to detect a rename or recover the original slug. This caused a live order to fail with “market not found” for a user holding a resolved position.

Cvijan 2026-06-26 19:09:45

Critical API bug – mutable market slugs Market ID: 1630444 Condition ID: 0xb60c044bba6f7958768691345df1e102448a5b7ef16e4a08879bb10483fb4567 Question: “Will Neymar play in the World Cup?” Observed behavior: Initial Gamma API response returned slug: will-neymar-play-in-the-2026-fifa-world-cup-for-brazil Later, the same market returned a different slug: will-neymar-play-in-the-world-cup No redirect, no alias, no deprecation signal. Impact: Old slug now returns 404 across: • /markets?slug= • /markets/slug/{slug} • /events/slug/{slug} • website URLs But the image/icon URL still contains the old slug, meaning the rename is inconsistent internally. (https://polymarket-upload.s3.us-east-2.amazonaws.com/will-neymar-play-in-the-2026-fifa-world-cup-for-brazil-mDv_mHZ77TzH.jpg) Why this breaks integrations: Slug is used as a primary lookup key. No mechanism exists to detect a rename or recover the original slug. This caused a live order to fail with “market not found” for a user holding a resolved position.

Critical API bug – mutable market slugs Market ID: 1630444 Condition ID: 0xb60c044bba6f7958768691345df1e102448a5b7ef16e4a08879bb10483fb4567 Question: “Will Neymar play in the World Cup?” Observed behavior: Initial Gamma API response returned slug: will-neymar-play-in-the-2026-fifa-world-cup-for-brazil Later, the same market returned a different slug: will-neymar-play-in-the-world-cup No redirect, no alias, no deprecation signal. Impact: Old slug now returns 404 across: • /markets?slug= • /markets/slug/{slug} • /events/slug/{slug} • website URLs But the image/icon URL still contains the old slug, meaning the rename is inconsistent internally. (https://polymarket-upload.s3.us-east-2.amazonaws.com/will-neymar-play-in-the-2026-fifa-world-cup-for-brazil-mDv_mHZ77TzH.jpg) Why this breaks integrations: Slug is used as a primary lookup key. No mechanism exists to detect a rename or recover the original slug. This caused a live order to fail with “market not found” for a user holding a resolved position.