V
Voiceflow
S
Voiceflow
•
2y ago
still-lime
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
:
Voiceflow
Join
Voiceflow is your community to get help, stay up to date on product releases, and connect with builders, experts, and the Voiceflow team⚡
12,999
Members
View on Discord
Was this page helpful?
Yes
No
M
MikeG
•
4/23/24, 8:52 PM
Seems like an error on the server side
(in the code of that endpoint you
're trying to hit
)
S
still-lime
OP
•
4/24/24, 3:36 PM
@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
D
Daniel Abi
@MikeG many thnx, I do the same http post/put with postman and replys with statu...
M
MikeG
•
4/24/24, 3:37 PM
Maybe you
're sending the data in an incorrect format
?
S
still-lime
OP
•
4/24/24, 3:38 PM
Url is the same
, body the same unless voiceflow transforms the data before sending
S
still-lime
OP
•
4/24/24, 3:38 PM
I dont see any error logs on the server which is strange
S
still-lime
OP
•
4/24/24, 3:38 PM
I see logs from other tools
S
still-lime
OP
•
4/24/24, 3:39 PM
It is like the request never happenens from voiceflow
M
MikeG
•
4/24/24, 3:39 PM
Whats the rest of the data look like
(i
.e headers
, body
, capture
, etc
)
?
S
still-lime
OP
•
4/24/24, 3:43 PM
{
"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
"
}
}
S
still-lime
OP
•
4/24/24, 3:44 PM
Above is the json body code
S
still-lime
OP
•
4/24/24, 3:44 PM
And post URL as on the pic
S
still-lime
OP
•
4/24/24, 3:45 PM
What I doubt is why voiceflow says undefinied
(
"reading response
"
)
.
It shouldent bother if there isent response at all