You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"success": false,
"error": {
"name": "Error",
"message": "Please set arguments in request json body, not in params. Evaluation failed: TypeError: _0x3037c7[(_0x2267e9(...) + \"FE\")](...) is not a function\n at window.<computed>.<computed> [as sendPoll] (pptr://__puppeteer_evaluation_script__:1:655267)\n at pptr://__puppeteer_evaluation_script__:2:29"
}
}
I tried the same request with Postman and cURL, and the result is the same error.
Expected Behavior
The expected behavior is that the API should successfully post a poll in my group chat, allowing group members to vote on where we should eat.
Steps To Reproduce
Run npx @open-wa/wa-automate -w https://webhook.site/87c9b01e-ba82-415a-9d0e-af6cabd4f2ce -p 8008
I also tried sending the request using Postman and cURL with the same request body, but I encountered the same error message each time. It seems the API is not accepting the arguments as they are currently structured in the request body.
The text was updated successfully, but these errors were encountered:
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Legacy (Normal)
What type of host account are you experiencing this issue on?
Personal account (normal)
Mode
EASY API/CLI
Current Behavior
I'm trying to call the
/sendPoll
API from Swagger, but it fails with the following error:Request Body
Response
I tried the same request with Postman and cURL, and the result is the same error.
Expected Behavior
The expected behavior is that the API should successfully post a poll in my group chat, allowing group members to vote on where we should eat.
Steps To Reproduce
npx @open-wa/wa-automate -w https://webhook.site/87c9b01e-ba82-415a-9d0e-af6cabd4f2ce -p 8008
sendPoll
APIcreate() code OR full CLI command + CONFIG
DEBUG INFO
Environment
Screenshots/Logs
Anything else?
Additional Attempts
I also tried sending the request using Postman and cURL with the same request body, but I encountered the same error message each time. It seems the API is not accepting the arguments as they are currently structured in the request body.
The text was updated successfully, but these errors were encountered: