Cannot modify Microservice API return codes
When you use the microservice API with some validation rules on the input (for example to create a case), and the validation rule fails, the API returns HTTP 500 Internal Server Error.
Our specification stipulates that we have to return 400 Bad Request.
How can we achieve this ?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Keep up to date on this post and subscribe to comments
- Pega API to get branch conflicts returns Pega_API_029 (Missing Application) error code- PRPC 7.3
- Pega API REST services returning 401 (unauthorized) as response code. Please help
- case microservice code
- for leveraging case microservice code
- Try running integration- microservice code pega using postman