Array options variable in my bot was previously wo...
# 🤝help
t
Im receiving an error regarding my array type:options when I try to display them in my capture card it crashes saying "type error: o is undefined". I dont think theres an error on my end as it was working yesterday. Is botpress bugged regarding the array type: options right now? When it was working a list from the array would generate allowing the user to select their option

https://cdn.discordapp.com/attachments/1133406762960179271/1133406763127947344/Screenshot_2023-07-25_103141.png

https://cdn.discordapp.com/attachments/1133406762960179271/1133406763375394896/Screenshot_2023-07-25_103105.png

https://cdn.discordapp.com/attachments/1133406762960179271/1133406763601907713/Screenshot_2023-07-25_102951.png

n
got the same issue. it works a week ago
r
@thousands-battery-10310 can you refresh the browser and check if this is still an issue for you?
t
hi @rich-battery-69172 I refreshed and it is working now! What was the issue?
r
@thousands-battery-10310 there was a race condition with the SummaryAgent, where the agent was overwriting the state of the conversation in between the response from the user (making the bot repeat itself, thinking it was still on the previous node).
oups sorry wrong thread! this is the other issue 😆 -- This issue was a regression with dynamic choices – it was expecting an array of object (but before we also accepted an array of strings). This has been fixed.
t
interesting! thank you sly and your team for resolving the issue so quickly, have a great week!
40 Views