-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi,
I'm trying to upgrade the sdk from v3 to v5. When using the getVisitorHistory API, the request hangs.
I debugged the flow and it is caused by the cloning of the response. If I edit the code and remove the clone call, it works fine.
More info on why - node-fetch/node-fetch#1131
Note I'm using node-fetch v2, and not the native fetch function, but according to the above bug report, seems like it can happen with native fetch as well.
Is there a reason for the response cloning? From reading the issue above and in other places, both responses should be consumed, but I'm not an expert on that area.
Would love your take on this, thank you!
JuroUhlar
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested