Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Folijet
Description
After viewing the most recent Sprint review recording, I connected to https://github.com/folio-org/mod-source-record-manager and read through the tutorial on how to use the command line interface for the source record manager. I then copied the curl and json files in the tutorial and tried to run them against https://folio-testing.aws.indexdata.com. I can run the 1st curl command successfully – the one that executes initJobExecutionsRqDto.json and provides the id for the next 2 steps. But when I try to run the 2nd curl command with the sample records as input, I get this error:
HTTP/1.1 100 Continue
HTTP/1.1 422 Unprocessable Entity
Date: Fri, 24 May 2019 20:50:13 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
X-Okapi-Trace: POST mod-authtoken-2.2.0-SNAPSHOT.45 http://10.36.1.231:9131/change-manager/jobExecutions/502dcead-de57-47e1-99e0-7291aabb9766/records : 202 1074532us
X-Okapi-Trace: POST mod-source-record-manager-1.4.0-SNAPSHOT.95 http://10.36.1.231:9167/change-manager/jobExecutions/502dcead-de57-47e1-99e0-7291aabb9766/records : 422 3407us
{"errors":[{"message":"may not be null","type":"1","code":"-1","parameters":[
{"key":"contentType","value":"null"}]}]}
Since I copied the curl command directly from the tutorial, I can't see where the error is. My version of the 1st curl command is attached as l_1.curl, 2nd curl command as l_2.curl and the record input as rawRecordsDto.json
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-1657 Data Import (Batch Importer for Bib Acq) Q2 2019 Technical and NFR work
-
- Closed
-