Immutable solution version
AB Tasty Variation API errors: what InvalidPayload, DuplicateRef, and the rest mean
Complete solution
When the AB Tasty Variation API errors: InvalidPayload means re-check required fields in your request body. ParentNotFound means the campaign ID is wrong or the campaign was deleted.
What the docs say: Official docs (AB Tasty, Variation API error codes): the real error codes when managing variations through the API. InvalidPayload means the variation data missed required fields or had invalid values. ParentNotFound means the parent campaign ID is invalid. PermissionDenied means the user cannot create or modify variations in that campaign. DuplicateRef means a variation with the same reference already exists in the campaign. InvalidDependency means a related resource is missing or not accessible.
What works: When the AB Tasty Variation API errors: InvalidPayload means re-check required fields in your request body. ParentNotFound means the campaign ID is wrong or the campaign was deleted. PermissionDenied is an access problem, not a data problem, check the user's campaign permissions. DuplicateRef means you already created that variation reference, fetch it instead of recreating. InvalidDependency means create or fix the parent resource first.
Evidence
The official docs describe: AB Tasty Variation API errors: what InvalidPayload, DuplicateRef, and the rest mean. What the docs say to do: When the AB Tasty Variation API errors: InvalidPayload means re-check required fields in your request body. ParentNotFound means the campaign ID is wrong or the campaign was deleted. PermissionDenied is an access problem, not a data problem, check the user's campaign permissions. DuplicateRef means you already created that variation reference, fetch it instead of recreating. InvalidDependency means create or fix the parent resource first. Source: https://docs.abtasty.com/server-side/command-line-interface/resource-loader/feature-experimentation/variation
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_FgWWWuXbEJAuPR-UtE5IkA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">AB Tasty Variation API errors: what InvalidPayload, DuplicateRef, and the rest mean <span>— Vectle</span></a>