ERROR: Unable to create virtual patron on Polaris suppliers

Description

We are sometimes receiving the error “Unable to create virtual patron at polaris - error code: -3529” when trying to create the virtual patron.

This one must be throwing an exception as it is not completing the action.

Example: https://libraries-dcb-hub-admin-scaffold-uat-git-production-knowint.vercel.app/patronRequests/af6fdd04-f07e-477d-8754-3b136ba25175#auditlog

Attached are all the ones currently in this state

 

Investigation result:

error code: -3529 means Duplicate username.

Ref: https://documentation.iii.com/polaris/PAPI/PolarisAPIReferenceGuide_7.4.pdf Page 17

Attachments

3
  • 19 Sep 2024, 08:10 AM
  • 19 Aug 2024, 02:36 PM
  • 12 Aug 2024, 03:19 PM

Activity

Show:

Tim Auger last week

This is fixed.

Alex Scott September 24, 2024 at 10:04 AM

There is a fix in already for this which can be found here: https://gitlab.com/knowledge-integration/libraries/dcb-service/-/commit/350fa394d8e48420108470a4355a6f6acc7c5036

The environment will need to be in release v7.3.0 for this fix to take affect.

Alex Scott September 19, 2024 at 9:46 AM
Edited

Were you expecting your fix to have resolved the issue ?

As it has just been reported in a support call for request https://libraries-dcb-hub-admin-scaffold-uat-git-production-knowint.vercel.app/patronRequests/audits/49df8d24-c028-40c7-8ec2-d64a1d163fc9 it produces the same error

I was expecting that removing the username when creating a virtual patron in Polaris would fix:

"errorCode": -3529, "errorMessage": "Duplicate username is specified",

 

I have tried to find the virtual patron by barcode which DCB would have done before creating the patron and we don’t seem to be finding a virtual patron for that barcode:

GET /PAPIService/REST/protected/v1/1033/1/1/wtFUcDU2A7sGUIrg2Z6JHp63ICkU57ps/search/patrons/boolean?q=PATNF%3D000154984 { "ErrorMessage" : "", "PAPIErrorCode" : -1, "PatronSearchRows" : [], "TotalRecordsFound" : 0, "WordList" : "" }

 

Could it be creating virtual patrons without a username also causes:

"errorCode": -3529, "errorMessage": "Duplicate username is specified",

 

However, this issue may be related to our ability to find virtual patrons and getting sight of finding virtual patron failures. This work is currently in flight and can be found here: https://openlibraryfoundation.atlassian.net/browse/DCB-1562

Chas Woodfield September 19, 2024 at 8:10 AM

Attached is the current list of requests in this state

 

Chas Woodfield September 19, 2024 at 8:02 AM

Were you expecting your fix to have resolved the issue ?

As it has just been reported in a support call for request https://libraries-dcb-hub-admin-scaffold-uat-git-production-knowint.vercel.app/patronRequests/audits/49df8d24-c028-40c7-8ec2-d64a1d163fc9 it produces the same error

Fixed

Details

Assignee

Reporter

External issue

Sprint

Priority

Created August 12, 2024 at 3:19 PM
Updated last week
Resolved last week