optimistic-gold•17mo ago
Post Api call "cannot read properties on undefinied ( reading 'response').
Hi, same api call as attached work when I use postman or other tools.
Looking foreward to your advice.:VF:

6 Replies
rare-sapphire•17mo ago
Seems like an error on the server side (in the code of that endpoint you're trying to hit)
optimistic-goldOP•17mo ago
@MikeG many thnx, I do the same http post/put with postman and replys with status 200.
On voiceflow it replys status 500 with undefinied response. Any idea why voiceflow says undefined response ?
I dont see any error log on the server 😕
rare-sapphire•17mo ago
Maybe you're sending the data in an incorrect format?
optimistic-goldOP•17mo ago
Url is the same , body the same unless voiceflow transforms the data before sending
I dont see any error logs on the server which is strange
I see logs from other tools
It is like the request never happenens from voiceflow
rare-sapphire•17mo ago
Whats the rest of the data look like (i.e headers, body, capture, etc)?
optimistic-goldOP•17mo ago
{
"UserLogin": "Daniel",
"Password": "xyxyxyxyx",
"Ticket": {
"Title": "suport request ",
"Queue": "HelpDeskTest",
"Lock": "unlock",
"Type": "Unclassified",
"State": "new",
"Priority": "3 normal",
"Owner": "Daniel",
"CustomerUser": "abasllaridaniel@gmail.com"
},
"Article": {
"Subject": " error xxxx",
"Body": "test test tes test",
"ContentType": "text/plain; charset=utf8"
}
}
Above is the json body code
And post URL as on the pic
What I doubt is why voiceflow says undefinied ( "reading response").
It shouldent bother if there isent response at all 😩