Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Evaluation failed: a" #1

Open
estvita opened this issue Dec 17, 2024 · 1 comment
Open

"Evaluation failed: a" #1

estvita opened this issue Dec 17, 2024 · 1 comment

Comments

@estvita
Copy link

estvita commented Dec 17, 2024

curl -X 'POST'
'http://127.0.0.1:3100/client/sendMessage/f8377d8d-a589-4242-9ba6-9486a04ef80c'
-H 'accept: /'
-H 'Content-Type: application/json'
-d '{
"chatId": "77777777777@c.us",
"contentType": "MessageMediaFromURL",
"content": "https://download.samplelib.com/wav/sample-15s.wav"
}'

{
"success": false,
"error": "Evaluation failed: a"
}

connection: keep-alive
content-length: 48
content-type: application/json; charset=utf-8
date: Tue,17 Dec 2024 08:33:50 GMT
etag: W/"30-emNvlIJ2WyWfhT6fdam1RTp2LUE"
keep-alive: timeout=5

@avoylenko
Copy link
Owner

Send it as a document:

{
"chatId": "77777777777@c.us,
"contentType": "MessageMediaFromURL",
"content": "https://download.samplelib.com/wav/sample-15s.wav",
"options" : { "sendMediaAsDocument": true }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants