In the oneflow designer, flows are saved under topics in a folder structure.
Only one route is designed for them : api/v1/bots/{botId}/flow/
Example of a request made when saving a flow : /api/v1/bots/ndu10/flow/Main-topic%2FMain-flow.flow.json
Since the flows are in a folder structure, the slash is escaped here (%2F). This may cause trouble with some load balancers that will resolve this %2F to /
Cannot POST /api/v1/bots/ndu10/flow/Main-topic/Main-flow.flow.json
Steps to reproduce the behaviour:
You need Botpress fronted by a load balancer such as Apache
In the oneflow design, move any node
See error
Expected behaviour:
Route should be created programmatically so the call is standardized, without escaping characters.
In the oneflow designer, flows are saved under topics in a folder structure. Only one route is designed for them : api/v1/bots/{botId}/flow/
Example of a request made when saving a flow : /api/v1/bots/ndu10/flow/Main-topic%2FMain-flow.flow.json
Since the flows are in a folder structure, the slash is escaped here (%2F). This may cause trouble with some load balancers that will resolve this %2F to /
Steps to reproduce the behaviour:
Expected behaviour: Route should be created programmatically so the call is standardized, without escaping characters.
See ticket # 1167 for more details.
Botpress Version 12.10.1