Error: Other copies of this item may be available. Do you want this specific item or the first available copy?

Description

When trying to create a hold on a collection the message “Other copies of this item may be available. Do you want this specific item or the first available copy?” is returned at the moment we move into the ERROR state we need to investigate how we can respond to this message and determine potential solutions.

Example request: https://libraries-dcb-hub-admin-scaffold-uat-git-production-knowint.vercel.app/patronRequests/8ece6113-f45d-4ef7-81c1-4c94d541481c

Request Url: ?

Request Body: ?

ResponseBody:

{ "detail": "Failed to handle Polaris.ApplicationServices API workflow: Serial/Multi Volume Holds", "Message": "Other copies of this item may be available. Do you want this specific item or the first available copy?", "Workflow doc": "https://qa-polaris.polarislibrary.com/Polaris.ApplicationServices/help/workflow/overview", "Full response": { "Prompt": { "Title": "Serial/Multi Volume Holds", "Message": "Other copies of this item may be available. Do you want this specific item or the first available copy?", "WorkflowPromptID": 88 }, "WorkflowStatus": -3, "WorkflowRequestGuid": "c8dfec9e-36da-42f0-bc33-730dae25cebf" }

Side effects:

  1. The borrower believes a request has been placed and will be expecting it to arrive

Investigations required:

  1. Add logging so we know the URL and the Request Body (if any)

  2. Determine how we can respond to this question and proceed normally, rather than move into an error state

 

 

Example Requests

Attachments

3
  • 29 Oct 2024, 02:56 PM
  • 20 Aug 2024, 08:03 AM
  • 24 Jul 2024, 08:46 AM

Activity

Show:

Chas Woodfield October 29, 2024 at 2:56 PM

Current requests in this state

 

Jag Goraya October 29, 2024 at 1:57 PM

what is the correct response that we should be giving? Doesn’t seem like ID 88 and Result 5 work,

Jag Goraya October 29, 2024 at 1:56 PM

could you run the otherCopiesAvailable query again so we can gauge if this is still happening, and get some recent requests to work this through with please?

Chas Woodfield August 20, 2024 at 8:03 AM

This issue is still ongoing, the requests that are currently affected are attached, which is produced by the script otherCopiesAvailable.sql

 

Alex Scott July 24, 2024 at 1:28 PM

Confirmation the change has been made to reply with the request body:

{ "WorkflowPromptID": 88, "WorkflowPromptResult": 5 }

Details

Assignee

Reporter

Components

Target Version

Fix versions

Sprint

Priority

Created June 27, 2024 at 1:19 PM
Updated March 25, 2025 at 11:10 PM