Unable to train either of my two Botfront projects

In both cases I get the following message a few seconds after clicking TRAIN:

Error: An unexpected error occurred during training. Error: expected string or bytes-like object

It was working fine until two days ago, when I unified a number of backups that I had re-imported.

I also get the following error message in the logs:

botfront-app | 2021-10-06T10:39:07.487Z [error] : Training project 2TFz64Xm7eBP47Ac4 - 2242.36 ms user: CweNF46rJK3awxspj /imports/api/instances/instances.methods.js - rasa.train with {“projectId”:“2TFz64Xm7eBP47Ac4”} error: Request failed with status code 500 at settle (/opt/bundle/bundle/programs/server/npm/node_modules/axios/lib/core/settle.js:17:12) botfront-app | 2021-10-06T10:39:07.520Z [updated]: Marked trainning as stopped, User [XXXX] updated project 2TFz64Xm7eBP47Ac4 in project 2TFz64Xm7eBP47Ac4 - user: [XXXX] - projectId: 2TFz64Xm7eBP47Ac4 - ressource id: 2TFz64Xm7eBP47Ac4 - ressource type: project - operation: project-updated - before: {“projectBefore”:{"_id":“2TFz64Xm7eBP47Ac4”,“disabled”:false,“name”:"[XXXX] Web",“defaultLanguage”:“en”,“namespace”:“bf-[XXXX]”,“defaultDomain”:{“content”:“slots:\n disambiguation_message:\n type: unfeaturized\nactions:\n - action_botfront_disambiguation\n - action_botfront_disambiguation_followup\n - action_botfront_fallback\n - action_botfront_mapping\n - action_my_action\n - action_fetch_status”},“chatWidgetSettings”:{“title”:"[XXXX] Web",“subtitle”:“Happy to help”,“inputTextFieldHint”:“Type your message…”,“initPayload”:"/get_started",“hideWhenNotConnected”:true,“customData”:{“language”:“en”},“autoClearCache”:true,“mainColor”:"#fcfbfb",“showFullScreenButton”:true},“nluThreshold”:0.75,“timezoneOffset”:0,“enableSharing”:true,“updatedAt”:“2021-10-06T10:39:05.222Z”,“deploymentEnvironments”:[],“storyGroups”:[“p6t3RJpFWeKmTovLs”,“zibZnxHqt54Cko7ZP”,“okTvnhjncNyptzB9o”,“e095e732-eccb-4dbc-b1a7-46ad45ce1a3d”,“LQJE5itki2MHPCTpo”],“allowContextualQuestions”:true,“languages”:[“en”],“training”:{“instanceStatus”:“training”,“startTime”:“2021-10-06T10:39:05.219Z”}}} - after: {“projectAfter”:{"_id":“2TFz64Xm7eBP47Ac4”,“disabled”:false,“name”:"[XXXX] Web",“defaultLanguage”:“en”,“namespace”:“bf-[XXXX]”,“defaultDomain”:{“content”:“slots:\n disambiguation_message:\n type: unfeaturized\nactions:\n - action_botfront_disambiguation\n - action_botfront_disambiguation_followup\n - action_botfront_fallback\n - action_botfront_mapping\n - action_my_action\n - action_fetch_status”},“chatWidgetSettings”:{“title”:"[XXXX]",“subtitle”:“Happy to help”,“inputTextFieldHint”:“Type your message…”,“initPayload”:"/get_started",“hideWhenNotConnected”:true,“customData”:{“language”:“en”},“autoClearCache”:true,“mainColor”:"#fcfbfb",“showFullScreenButton”:true},“nluThreshold”:0.75,“timezoneOffset”:0,“enableSharing”:true,“updatedAt”:“2021-10-06T10:39:07.493Z”,“deploymentEnvironments”:[],“storyGroups”:[“p6t3RJpFWeKmTovLs”,“zibZnxHqt54Cko7ZP”,“okTvnhjncNyptzB9o”,“e095e732-eccb-4dbc-b1a7-46ad45ce1a3d”,“LQJE5itki2MHPCTpo”],“allowContextualQuestions”:true,“languages”:[“en”],“training”:{“status”:“failure”,“instanceStatus”:“notTraining”,“endTime”:“2021-10-06T10:39:07.489Z”,“message”:“Request failed with status code 500 at settle (/opt/bundle/bundle/programs/server/npm/node_modules/axios/lib/core/settle.js:17:12)”}}}

I’ve tried absolutely everything I can think of, even reducing the new project to its bare bones, which did not resolve the problem.

Hi Richard! Botfront is actually a separate project built on top of Rasa. I’d recommend filing an issue on their GitHub: https://github.com/botfront

1 Like