Unable to attach csv file in http Post request

File input request:

curl -X POST https://api-eit.refinitiv.com/permid/match/file -H “Content-Type: multipart/form data” -H “x-openmatch-numberOfMatchesPerRecord: 1” -H “x-openmatch-datatype: Organization” -H “X-AG-Access-Token: A4ZnGkgtybkFYwh3rPaPAGyTw0694FzN” -F file=@OrgRecords.csv

I am getting following error message
{“error”: {“status”: {
“code”: “500”
“errorCode”: “Server Error”
“errorDescription”: “java.lang.NullPointerException”
}}}

give a try on providing full file path to the csv

you mean this? i am already attaching the file

curl -X POST https://api-eit.refinitiv.com/permid/match/file -H “Content-Type: multipart/form data” -H “x-openmatch-numberOfMatchesPerRecord: 1” -H “x-openmatch-datatype: Organization” -H “X-AG-Access-Token: A4ZnGkgtybkFYwh3rPaPAGyTw0694FzN” -F file=@C:\SYS ADMIN\OrgRecords.csv

U mean file variable needs to be created in Headers field ?

meaning is that the constructed curl command looks simialr to below and provides the path to the file:

how this needs to be accommodated in http request activity?
i mean without postman or invoking external code…

you was asking about curl, right?
if send is done alternately, often it helps to check with postman and then adopt it e.g. HTTP Request activity. For this e.g. construct the Request Body similar as prototyped by postman