当我将以下文件发布到 /{FLOW_ID}/assets 端点时,我收到一条不清楚的错误消息,并且无法发布我的流程。
{
"version": "3.1",
"screens": [
{
"id": "WELCOME_SCREEN",
"layout": {
"type": "SingleColumnLayout",
"children": [
{
"type": "TextHeading",
"text": "Hello World"
},
{
"type": "TextBody",
"text": "Let's start building things!"
},
{
"type": "Footer",
"label": "Complete",
"on-click-action": {
"name": "complete",
"payload": {}
}
}
]
},
"title": "Welcome",
"terminal": true,
"success": true,
"data": {}
}
]
}
我收到以下错误消息:
{
"success": true,
"validation_errors": [
{
"error": "INTERNAL_ERROR",
"error_type": "FLOW_JSON_ERROR",
"message": "Flow JSON validation failed due to an internal error. Please try again.",
"line_start": 0,
"line_end": 0,
"column_start": 0,
"column_end": 0,
"pointers": [
{
"line_start": 0,
"line_end": 0,
"column_start": 0,
"column_end": 0,
"path": ""
}
]
}
]
}
有人遇到过类似的错误并可以帮助我解决我的问题吗?
我能够保存您共享的相同 JSON,没有错误。您可以尝试使用不同的流 ID 吗?如果从 WA Manager 更新 JSON 是否有效?