Hi s.m.h316f1af6-4c36-4313-ae04-949aa3d79ade
I guess you coding something with WEB API, rectnly I have then same error as you and solved.
The most important is "EVERYTHING IS JSON ON WEB API POST BODY", I descript detail in below for you reference.
When I execute the script from my computer, got the following error message.

Verify the response message from ZAP, I saw the key point "Payload is empty".

I check my logout request, it's true, no body was sent.

So I add a empty json data in body when call logout function from web api, as below, a subroutine called json_body with empty parameter.
(It's written in PERL.)

As below, an empty json body in post logout function and I got a http return code 200 OK.

