Forum Discussion
tlikarish
2 years agoEmployee
Hi Rudhiran -- the double quotes were escaped in my example. Not sure where those came from, but could you try this expression, with backslashes removed, in your mapper and see if it will work for you?
$['content-disposition'].match('filename="(.*)"')[1]
Rudhiran
2 years agoNew Contributor
HI tlikarish ,
Multipart reader gives response only Content type and Content - Not the content-disposition
So we're getting error in mapper that
Cannot invoke a method on a null value
Resolution:
Please check expression syntax
Reason:
Value referenced in the sub-expression '$.get('content-disposition').match('filename="(.*)"')' is null
Appreciate your help on this issue