https://discord.gg/botpress logo
Publishing fails
# 🤝help
p
I try to publish my bot and get "Publish failed" message in bottom right corner of the screen. Also I get 400 Axios error message in browser network tab. I tried to change workflows, fix issues but nothing helped since there is no informative error message about what goes wrong. Any ideas how to fix it? https://cdn.discordapp.com/attachments/1494283330361753732/1494283331179909220/Screenshot_2026-04-16_at_12.24.28.png?ex=69e20b4c&is=69e0b9cc&hm=9e8fc9016b5b39fb240a2d382f5aab86b4042ac20a217ddacd735a9704de7707&
w
did you change any CORS settings in your bot?
maybe it says "whitelisted only" which has happened in the past
p
I don't have Team plan, so this setting is not available for me, but the value selected is "All Origins"
w
yeah but sometimes the other option comes default selected even on free plans, good to know this isn't the case
this does appear to be an internal botpress error, @loud-crowd-60573 can you please take a look boss
l
Can you drop your workspace id please? @prehistoric-restaurant-57831
p
@loud-crowd-60573 Is that it? wkspace_01KN4F7B986TXA3P3B3PEHN5K2
l
perfect yes @prehistoric-restaurant-57831
taking a look soon, I have a few meetings coming up will answer ASAP
h
hello @everyone
l
hello thomas
h
what is ur role?
l
I'll be taking over your bot now @prehistoric-restaurant-57831 let me know when I have the green light
p
It's under development and not used anywhere, feel free to do stuff👌
l
Community Manager, how can I help you!
h
okay. nice to meet u
l
@prehistoric-restaurant-57831 What changes did you make 24h ago? As I see it was published then!
p
I don't remember exactly, I think the TicketGeneration workflow was the last thing I did, but not 100% sure
l
The issue was with your schema FinalOrdersOutput
z.any().nullable() z.any already supports null, after removing nullable it was able to publish
@wide-umbrella-5226 W Claud 👀
But is published!! and fixed!!! @prehistoric-restaurant-57831
p
Thank you very much @loud-crowd-60573 and @wide-umbrella-5226!🙏
2 Views