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" } ],
相關內容
- AWS 官方已更新 9 個月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前