This may be well known, and widely reported elsewhere, but it appears that makeWebRequest will return the -400 INVALID_HTTP_BODY_IN_NETWORK_RESPONSE error when a 404 (file not found) error would otherwise be expected.
I wasted spent many hours today vainly debugging my json when in fact there was some gremlin in the comms channel that was failing to find my file.