fix: remove unsupported asset_fields params from dev11 API tests - #395
Closed
aniket-shikhare-cstk wants to merge 1 commit into
Closed
fix: remove unsupported asset_fields params from dev11 API tests#395aniket-shikhare-cstk wants to merge 1 commit into
aniket-shikhare-cstk wants to merge 1 commit into
Conversation
embedded_metadata and ai_generated_metadata are not supported on dev11 CDA — API returns HTTP 422. Restrict assetFields() calls to the two supported values (user_defined_fields, visual_markups) in asset.spec.ts, asset-query.spec.ts, entries.spec.ts, and entry.spec.ts. Generated by Claude Code
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Coverage report
Test suite run success720 tests passing in 36 suites. Report generated by 🧪jest coverage report action from 3822092 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
embedded_metadataandai_generated_metadataare not supported on the dev11 CDA region — the API returns HTTP 422 (error_code: 141) when these values are passed asasset_fields[]parametersassetFields()calls to the two values dev11 supports:user_defined_fieldsandvisual_markupsasset.spec.ts,asset-query.spec.ts,entries.spec.ts,entry.spec.tsTest plan
npm run test:apiagainst dev11 — all 722 tests should pass (was 718/722)🤖 Generated with Claude Code