sensitive-blue
sensitive-blue2y 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:
No description
6 Replies
MikeG
MikeG2y ago
Seems like an error on the server side (in the code of that endpoint you're trying to hit)
sensitive-blue
sensitive-blueOP2y 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 😕
MikeG
MikeG2y ago
Maybe you're sending the data in an incorrect format?
sensitive-blue
sensitive-blueOP2y 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
MikeG
MikeG2y ago
Whats the rest of the data look like (i.e headers, body, capture, etc)?
sensitive-blue
sensitive-blueOP2y 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 😩

Did you find this page helpful?