1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
The ValidationException
with the message Invalid JSON provided
could be caused by the JSON content not being properly formatted or containing syntax errors. In this case, the mix of single and double quotes in the content value might be causing confusion in the JSON parsing process.
To resolve this issue, ensure that the JSON content within the content key is properly formatted and uses consistent quoting. Use double quotes " for both the keys and values inside the JSON content, and escape any double quotes that are part of the string values. Here's the corrected formsInput
section:
formsInput=[ { "content": "{\"summary\": \"This description was uploaded from python code.\"}", "formName": "AssetCommonDetailsForm", "typeIdentifier": "amazon.datazone.RedshiftViewAssetType", "typeRevision": "8" } ],