# What response format will I get from rasa train callback\_url?

**URL:** <https://forum.rasa.com/t/what-response-format-will-i-get-from-rasa-train-callback-url/61079>\
**Category:** Rasa Open Source\
**Created:** [February 20, 2024, 11:38am UTC](https://forum.rasa.com/t/what-response-format-will-i-get-from-rasa-train-callback-url/61079 "2024-02-20T11:38:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harsh\_37](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@harsh\_37](https://forum.rasa.com/u/harsh_37)\
**Post date:** [February 20, 2024, 11:38am UTC](https://forum.rasa.com/t/what-response-format-will-i-get-from-rasa-train-callback-url/61079/1 "2024-02-20T11:38:45Z")

</div>

hello, I am using rasa train API where I’m passing callback\_url in query parameter and I want to parse the response In the same callback\_url how can I get the response? on the rasa server, it is showing below error:

```
raise ClientResponseError(

```

aiohttp.client\_exceptions.ClientResponseError: 422, message=‘Unprocessable Entity’, url=URL(‘[https://c70c-43-248-34-168.ngrok-free.app/chatbot/update\_train\_status](https://c70c-43-248-34-168.ngrok-free.app/chatbot/update_train_status)’)

and below is my callback\_url endpoint:

@router\_update.post(“/chatbot/update\_train\_status”) async def chatbot\_update\_train\_status(request: Request, filename: str = Header(default=None), req\_data: ChatbotTrainUpdateStatusRequest = Depends( ChatbotTrainUpdateStatusRequest.as\_form)): print(req\_data.TrainingResult) print(filename) return

also what is the response format that rasa will send in callback\_url once model is trained?
