like-gold
like-gold3y ago

Could not load body for this request. Preflight request.

Hello guys, did anybody handle with this error: ERROR ProtocolError: Could not load body for this request. This might happen if the request is a preflight request. while I try to retrive body from response in puppeteer pageHandle. Thanks for advice.
2 Replies
Alexey Udovydchenko
add checkup for request method, if its really PREFLIGHT then message is correct and you can not get body of request because its does not exists
Lukas Krivka
Lukas Krivka3y ago
Yeah, you might need to skip this request and the body will be in the next one

Did you find this page helpful?