Camunda Http Connector retry on 500 response code

I use camunda http connector to call some rest service. When the rest server return 500 as response code, engine did not detect it as an error. In this situation I want to retry task with specified retry pattern(the connector task is async). Is there any way to retry 500 response code in connector task?

i hope http connector doesn’t provide retry functionality based on http status codes. you have to handle it by own.