feign.FeignException$BadRequest: [400 Bad Request] during [GET] to [https://bru-2.tasklist.camunda.io/{myClusterId}/v1/forms/OverrideClientForm?processDefinitionKey=2251799814748289] [TaskListClient#getForm(String,String,Long)]: [<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>
]
at feign.FeignException.clientErrorStatus(FeignException.java:222) ~[feign-core-13.2.1.jar:na]
at feign.FeignException.errorStatus(FeignException.java:203) ~[feign-core-13.2.1.jar:na]
at feign.FeignException.errorStatus(FeignException.java:194) ~[feign-core-13.2.1.jar:na]
at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:103) ~[feign-core-13.2.1.jar:na]
at feign.InvocationContext.decodeError(InvocationContext.java:126) ~[feign-core-13.2.1.jar:na]
at feign.InvocationContext.proceed(InvocationContext.java:72) ~[feign-core-13.2.1.jar:na]
at feign.ResponseHandler.handleResponse(ResponseHandler.java:63) ~[feign-core-13.2.1.jar:na]
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:114) ~[feign-core-13.2.1.jar:na]
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:70) ~[feign-core-13.2.1.jar:na]
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:99) ~[feign-core-13.2.1.jar:na]
at jdk.proxy2/jdk.proxy2.$Proxy107.getForm(Unknown Source) ~[na:na]
I had same error when I try to call any of endpoints in operate API with proper Feign and config
Hi @Darek_Krystian, welcome to the forums! The path /v1/forms/OverrideClientForm isn’t a valid Tasklist API endpoint, so I suspect that’s why you’re getting a 400 error. Where did you get that path from? You can see all the available Tasklist endpoints here: Tasklist REST API | Camunda 8 Docs
@Darek_Krystian - oh my, I completely misread that! Apologies! It seems to work in Swagger; have you tried Postman (or similar REST client) to test the call? It would seem the issue might be the FeignClient. Unfortunately I’ve never used it so I can’t offer any advice in configuring it.
Yes, I tried using postman and it works too, only FeignClient dosn’t work because for some reason. Thanks for help anyway .
Like I said earlier I ended up using, works like charm