code: private void verifyBulkJsonResponse(JSONAware pJsonResponse) throws J4pException {
          if (!(pJsonResponse instanceof JSONArray)) {
              if (pJsonResponse instanceof JSONObject) {
                  JSONObject errorObject = (JSONObject) pJsonResponse;
  
                  if (!errorObject.containsKey("status") || (Long) errorObject.get("status") != 200) {
                      throw new J4pRemoteException(null, errorObject);
                  }
              }
              throw new J4pException("Invalid JSON answer for a bulk request (expected an array but got a " + pJsonResponse.getClass() + ")");
          }
      }
docs: Verify the returned JSON answer.