# Return 400 errors from each service task synchronously to web/rest client

**URL:** <https://forum.camunda.io/t/return-400-errors-from-each-service-task-synchronously-to-web-rest-client/53250>\
**Category:** Camunda 7 Topics\
**Created:** [June 24, 2024, 6:37am UTC](https://forum.camunda.io/t/return-400-errors-from-each-service-task-synchronously-to-web-rest-client/53250 "2024-06-24T06:37:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chal](https://forum.camunda.io/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@chal](https://forum.camunda.io/u/chal)\
**Post date:** [June 24, 2024, 6:37am UTC](https://forum.camunda.io/t/return-400-errors-from-each-service-task-synchronously-to-web-rest-client/53250/1 "2024-06-24T06:37:28Z")

</div>

I have front end application calling spring rest endpoint which in turn use the camunda engine where it synchrounsly call multiple microservices and if i get 400/4xx validation error from either of these microservices i need to respond to the web client calling the rest endpoint with the relavant error message so that web client can correct the input and send it again.  
What is the best approach. Please refer me if any examples already there.

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [September 22, 2024, 6:37am UTC](https://forum.camunda.io/t/return-400-errors-from-each-service-task-synchronously-to-web-rest-client/53250/2 "2024-09-22T06:37:59Z")

</div>

Closed on September 22, 2024, 6:37am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
