FOLIO rejects incoming record if there is a matching instance with a differing HRID value
branchedelac opened this issue · comments
Lisa Sjögren commented
After matching an incoming record to an existing record in Inventory, FOLIO rejects the incoming record:
Found 1 = updateYes, found instance dfdd8362-c888-4f83-b4da-316d17030783 already present in FOLIO, Updating...
REASON4: StatusCodeError: 400 - "The hrid field cannot be changed: new=https://libris.kb.se/1c05jrm4ztcvw94s, old=in02396567"(node:10028) UnhandledPromiseRejectionWarning: StatusCodeError: 400 - "The hrid field cannot be changed: new=https://libris.kb.se/1c05jrm4ztcvw94s, old=in02396567"at new StatusCodeError
For more information about why this started happening with Edelweiss/2019 Q4 version of FOLIO, see https://issues.folio.org/browse/CHAL-132.
Lisa Sjögren commented
We got around this for now by adding corresponding Libris IDs to existing records' HRID field. (Ie so that now the HRID that Chami PUTs matches the HRID already in FOLIO.)
Closing this.