0% found this document useful (0 votes)
16 views2 pages

Bug Bot

A bot named 'ab-test' was successfully created in Botpress, confirmed by a 200 OK response. However, an attempt to create a flow for the bot resulted in a 400 Bad Request error. The error indicates an issue with the POST request to the Botpress API for the bot's flows.

Uploaded by

speed fly
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Bug Bot

A bot named 'ab-test' was successfully created in Botpress, confirmed by a 200 OK response. However, an attempt to create a flow for the bot resulted in a 400 Bad Request error. The error indicates an issue with the POST request to the Botpress API for the bot's flows.

Uploaded by

speed fly
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Creating bot in Botpress: Bot{name='ab-test', templateId='empty-bot', botId='ab-

test', templateModuleId='builtin'}
2025-09-15T15:56:34.6332637Z 2025-09-15 15:56:34 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientConnect - [40d414e8-1, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Handler is being applied:
{uri=https://bot.dashypay.com/api/v1/admin/bots, method=POST}
2025-09-15T15:56:35.0901201Z 2025-09-15 15:56:35 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientOperations - [40d414e8-1, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Received response (auto-read:false) :
RESPONSE(decodeResult: success, version: HTTP/1.1)
2025-09-15T15:56:35.0901439Z HTTP/1.1 200 OK
2025-09-15T15:56:35.0901467Z Content-Length: <filtered>
2025-09-15T15:56:35.0901489Z Content-Type: <filtered>
2025-09-15T15:56:35.0901511Z Date: <filtered>
2025-09-15T15:56:35.0901558Z Access-Control-Allow-Origin: <filtered>
2025-09-15T15:56:35.0901583Z ETag: <filtered>
2025-09-15T15:56:35.0901605Z Vary: <filtered>
2025-09-15T15:56:35.0901627Z X-Powered-By: <filtered>
2025-09-15T15:56:35.0901648Z X-Response-Time: <filtered>
2025-09-15T15:56:35.0904758Z 2025-09-15 15:56:35 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientOperations - [40d414e8-1, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Received last HTTP packet
2025-09-15T15:56:35.0906128Z 2025-09-15 15:56:35 [http-nio-80-exec-18] INFO
c.d.p.i.database.service.BotService - Response from Botpress:
{"status":"success","message":"Added new bot","payload":{"botId":"ab-test"}}
2025-09-15T15:56:35.0934272Z 2025-09-15 15:56:35 [http-nio-80-exec-18] INFO
c.d.p.i.d.service.ElementService - Creating element in Botpress:
Element{text='##END_BOT##', markdown=false, typing=false, type='builtin_text',
companyId='Darb Event', elementId='##END_BOT##'}
2025-09-15T15:56:35.0934442Z 2025-09-15 15:56:35 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientConnect - [40d414e8-2, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Handler is being applied:
{uri=https://bot.dashypay.com/api/v1/studio/ab-test/cms/builtin_text/element,
method=POST}
2025-09-15T15:56:35.2009762Z 2025-09-15 15:56:35 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientOperations - [40d414e8-2, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Received response (auto-read:false) :
RESPONSE(decodeResult: success, version: HTTP/1.1)
2025-09-15T15:56:35.2010038Z HTTP/1.1 200 OK
2025-09-15T15:56:35.2010071Z Content-Length: <filtered>
2025-09-15T15:56:35.2010101Z Content-Type: <filtered>
2025-09-15T15:56:35.2010136Z Date: <filtered>
2025-09-15T15:56:35.2010165Z Access-Control-Allow-Origin: <filtered>
2025-09-15T15:56:35.2010190Z ETag: <filtered>
2025-09-15T15:56:35.2010218Z Vary: <filtered>
2025-09-15T15:56:35.2010246Z X-Powered-By: <filtered>
2025-09-15T15:56:35.2010268Z X-Response-Time: <filtered>
2025-09-15T15:56:35.2018268Z 2025-09-15 15:56:35 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientOperations - [40d414e8-2, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Received last HTTP packet
2025-09-15T15:56:35.2018446Z 2025-09-15 15:56:35 [http-nio-80-exec-18] INFO
c.d.p.i.database.service.BotService - Fetching bot with ID: ab-test
2025-09-15T15:56:35.2058972Z 2025-09-15 15:56:35 [http-nio-80-exec-18] INFO
c.d.p.i.d.service.WorkflowService - Fetching bot entity for workflow:
Workflow{name='main.flow.json', version='0.0.1', flow='main.flow.json',
location='main.flow.json', startNode='entry', companyId='Darb Event',
nodes=[Node(nodeId=entry, name=entry, x=100.0, y=100.0, companyId=Darb Event,
workflowReference=null, isEnabled=null, bot=null, eventType=null, event=null,
type=, skill=, flow=, events=null, next=[NextCondition(condition=true,
conditionType=, nextNode=)], jsonTemplateInputVariables=null,
variableTemplateForNodeEntities=null, isUpdated=true, isDeleted=null)]}
2025-09-15T15:56:35.2059855Z 2025-09-15 15:56:35 [http-nio-80-exec-18] INFO
c.d.p.i.database.service.BotService - Fetching bot with ID: ab-test
2025-09-15T15:56:35.2075030Z 2025-09-15 15:56:35 [http-nio-80-exec-18] INFO
c.d.p.i.d.service.WorkflowService - Bot entity fetched:
com.dashy.plateforms.infrastructure.database.entities.BotEntity@618972c2
2025-09-15T15:56:35.2214402Z 2025-09-15 15:56:35 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientConnect - [40d414e8-3, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Handler is being applied:
{uri=https://bot.dashypay.com/api/v1/studio/ab-test/flows, method=POST}
2025-09-15T15:56:35.2326860Z 2025-09-15 15:56:35 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientOperations - [40d414e8-3, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Received response (auto-read:false) :
RESPONSE(decodeResult: success, version: HTTP/1.1)
2025-09-15T15:56:35.2327001Z HTTP/1.1 400 Bad Request
2025-09-15T15:56:35.2327026Z Content-Length: <filtered>
2025-09-15T15:56:35.2327045Z Content-Type: <filtered>
2025-09-15T15:56:35.2327062Z Date: <filtered>
2025-09-15T15:56:35.2327081Z Access-Control-Allow-Origin: <filtered>
2025-09-15T15:56:35.2327100Z ETag: <filtered>
2025-09-15T15:56:35.2327117Z Vary: <filtered>
2025-09-15T15:56:35.2327134Z X-Powered-By: <filtered>
2025-09-15T15:56:35.2327152Z X-Response-Time: <filtered>
2025-09-15T15:56:35.2328554Z 2025-09-15 15:56:35 [reactor-http-epoll-3] DEBUG
r.n.http.client.HttpClientOperations - [40d414e8-3, L:/169.254.129.2:48538 -
R:bot.dashypay.com/20.111.1.13:443] Received last HTTP packet
2025-09-15T15:56:35.2354334Z 2025-09-15 15:56:35 [http-nio-80-exec-18] ERROR
c.d.p.i.d.service.WorkflowService - Error executing post request: 400 Bad Request
from POST https://bot.dashypay.com/api/v1/studio/ab-test/flows
2025-09-15T15:56:35.2354468Z
org.springframework.web.reactive.function.client.WebClientResponseException$BadRequ
est: 400 Bad Request from POST https://bot.dashypay.com/api/v1/studio/ab-test/flows
2025-09-15T15:56:35.2354495Z at
org.springframework.web.reactive.function.client.WebClientResponseException.create(
WebClientResponseException.java:307)
2025-09-15T15:56:35.2354523Z Suppressed:
reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
2025-09-15T15:56:35.2354552Z Error has been observed at the following site(s):
2025-09-15T15:56:35.2354579Z *__checkpoint ⇢ 400 BAD_REQUEST from POST
https://bot.dashypay.com/api/v1/studio/ab-test/flows [DefaultWebClient]
2025-09-15T15:56:35.2354599Z Original Stack Trace:
2025-09-15T15:56:35.2354637Z at
org.springframework.web.reactive.function.client.WebClientResponseException.create(
WebClientResponseException.java:307)
2025-09-15T15:56:35.2354687Z at

You might also like