https://discord.gg/botpress logo
Internal Botpress Human Handoff Dashboard Ticket C...
# 🤝help
a
'm seeking assistance with a critical failure in the final stage of our Human-in-the-Loop (HITL) escalation flow. Despite successfully validating and passing all required data, the internal Botpress Human Handoff Dashboard fails to create a new ticket, immediately returning a generic error to the user. ### Context and Setup Our flow prepares for agent handover by: 1. Client Data Retrieval: Successfully retrieving a verified client profile into the variable
workflow.client_data
. 2. Ticket Data Aggregation: Concatenating all data (profile, problem, AI blockage reason) into final variables for the ticket:
workflow.ticket_title_final
,
workflow.ticket_description_final
, etc. The conversation ID is stored in
workflow.botpress_conversation_id
using robust fallback logic to ensure a valid ID (e.g.,
convo-8
) is available. 3. Transfer: The flow transitions to a node containing the
Start HITL
card, which targets the internal Botpress Human Handoff Dashboard (no external ticketing system is used). ### 🚨 The Problem When the
Start HITL
card is executed: 1. The user sees the successful escalation message, confirming the card starts execution. 2. Immediately after the message, the flow crashes and the user receives the generic error: "Sorry, an error occurred. Please try again later." 3. Crucially: No ticket is created in the Botpress Human Handoff Dashboard. ### Request for Assistance Since all required variables are correctly transmitted, the failure must be occurring in the internal Botpress logic when it attempts to create the ticket resource for its own dashboard. Has anyone encountered this specific failure when using the internal Botpress Human Handoff Dashboard? Are there any known issues regarding the format of the
User ID
(UUID) or the required permissions that might cause the internal ticket creation API call to fail silently?
w
do any issues show up in your "issues" tab?
a
in the Logs you mean ?
since i cannot trigger the start HITL card in the studio
w
test them in webchat
when you test them outside the emulator the logs and issues get saved
so i can take a look at the exact error
since the generic one isn't very helpful as it's user-defined
do you have access ?
w
yes sure
feel free to test the HITL whenever
and when the issue shows up in the webchat send me a screenshot
of the exact error
its the case
in the link i send you
w
yes but can you send me a screenshot of that issue
in the "issues" tab
the "sorry an error ocurred" is from your error workflow so it doesn't give me any information
a
hum can you help me locate the issues tab in the webchat view ?
w
it's in your dashboard
before the botpress studio
An error occured while executing a plugin action: rr: User "theid" does not exist
w
could you send me a screenshot of the full error
open one of these events and screenie it
but i think you're passing the wrong user in your start HITL card
either the support agent or the actual userId
a
yes this section i didnt know about actually helps me a lot
i will try to find the solution by my own now
thanks @wide-umbrella-5226 i will keepo you updated
w
okay!! good luck
please feel free to message me if you need more help
but this is probably it
a
yep thats was the problem thanks !
2 Views