Cannot read properties of undefined (reading 'hapi')"

curl -X POST "KIbana URL/api/detection_engine/rules/_import" -H 'Content-Type: application/json' -u offsec:student -H 'kbn-xsrf: true' -H 'Content-Type: multipart/form-data' --form "file=@/home/bourne/Downloads/rules_export.ndjson"

I am trying to import multiple rules to the ELK but I keep getting the error below.How do I fix it?
{"message":"Cannot read properties of undefined (reading 'hapi')","status_code":500}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.