cancel
Showing results for 
Search instead for 
Did you mean: 

"Header: Cannot read property 'map' of undefined"

piyush_parekh
Active Contributor
0 Kudos

Hi Experts,

I am using Consume API service to make a POST/PATCH call. I have passed x-csrf-token and cookie to the request. The request also contains a JSON body. Upon execution, I get a warning message in Debug view (image 1). Please suggest how to resolve this issue.

API service configuration : image 2 and 3

Regards,

Piyush

Accepted Solutions (1)

Accepted Solutions (1)

JonasB
Contributor
0 Kudos

Hi Piyush,

please print out the set-cookie variable in a text message to make sure it is filled. The error message indicates that the variable passed to the {{#join}} helper is undefined.

Regards
Jonas

piyush_parekh
Active Contributor
0 Kudos

Thank you Jonas. I missed out on enabling headers because of which set-cookie variable was empty.

Answers (0)