har-server icon indicating copy to clipboard operation
har-server copied to clipboard

HARError: validation failed

Open fboleto opened this issue 9 years ago • 3 comments

I am using chrome 56 to collect the har file

when I use:

sudo har-server last.har -p 80 I get HARError: validation failed

How can I check what is wrong?

Thank you

fboleto avatar Mar 03 '17 18:03 fboleto

Using har-validator with the following options comes as correct:

har-validator -s log,request,response last.har

Maybe har-server should have an option to pass har-validator parameters?

Thank you

fboleto avatar Mar 03 '17 19:03 fboleto

I'm having the same error. Are there any fixes?

paulsery avatar Apr 16 '22 01:04 paulsery

Workaround? In lib/harServer.js, delete line 63 and return line 62 instead

legoskid avatar Apr 21 '26 21:04 legoskid