Open AprilNEA opened 1 month ago
Workflow App: https://udify.app/workflow/UvtkopWluBtN4Ekw
The issue you're encountering with the "Unexpected token" error is likely due to the use of single quotes in your JSON input. JSON requires double quotes for strings.
To resolve this, ensure that your JSON body in the HTTP request is formatted with double quotes, like this:
{
"result": ["1", "2"]
}
Make sure your request body is correctly set up in the HTTP request configuration interface. If you're using a variable, ensure it outputs the JSON in the correct format with double quotes.
To continue talking to Dosu, mention @dosu.
The issue you're encountering with the "Unexpected token" error is likely due to the use of single quotes in your JSON input. JSON requires double quotes for strings.
To resolve this, ensure that your JSON body in the HTTP request is formatted with double quotes, like this:
{ "result": ["1", "2"] }
Make sure your request body is correctly set up in the HTTP request configuration interface. If you're using a variable, ensure it outputs the JSON in the correct format with double quotes.
To continue talking to Dosu, mention @dosu.
@docu That's the crux of the problem, but obviously it's not in the user's control
This is a known issue, we plan to support it later.
Hi, @AprilNEA. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
Array[String]
in an HTTP Request
.Next Steps:
Thank you for your understanding and contribution!
Self Checks
Dify version
Live
Cloud or Self Hosted
Cloud
Steps to reproduce
✔️ Expected Behavior
❌ Actual Behavior