Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
208 views

Cyclic HTTP 400 errors in Spring Boot application using Feign client for scheduled tasks

I am encountering a cyclic error pattern in a Spring Boot application utilizing a Feign client for inter-service communication. This issue specifically arises with scheduled tasks that make HTTP POST ...
Yu Yang's user avatar
5 votes
1 answer
8k views

Get a list of objects in JSON with Spring Cloud Open Feign

I have an application that when I call one of its services it returns the following JSON: { "suppliers": [ { "name": "Joaquim", &...
Adriano's user avatar
  • 83
-1 votes
1 answer
1k views

feign client internal server exception (rest template didnt work either)

The last time i've posted i got an accessing token error. I also tried with rest template ; still the same error. "timestamp": 1597323995055, "status": 500, "error": &...
Hüseyin Kadıoğlu's user avatar
1 vote
1 answer
605 views

Feign Client fails to compile, it treats BindingResult as a second Body parameter

I'm learning to use Spring's Feign Client, so I've built two simple projects (serviceA and serviceB) to test it out. I have the following code: serviceA rest interface: @RequestMapping("/users") ...
DraegerMTN's user avatar
  • 1,151
8 votes
2 answers
9k views

Spring Cloud OpenFeign Failed to Create Dynamic Query Parameters

Spring cloud openFeign can't create dynamic query parameters. It throws below exception because SpringMvcContract tries to find the RequestParam value attribute which doesn't exist. java.lang....
mstzn's user avatar
  • 2,941
0 votes
2 answers
690 views

FeignClients get published as REST endpoints in spring cloud application

I've got REST FeignClient defined in my application: @FeignClient(name = "gateway", configuration = FeignAuthConfig.class) public interface AccountsClient extends Accounts { } I share endpoint ...
Ondrej Bozek's user avatar
  • 11.5k
2 votes
1 answer
6k views

Spring Cloud Netflix Feign - Error 405 Request method 'POST' not supported

I'm trying to build up a REST client using Feign for my web-service. The web-service is built with Spring 4, with an xml beans configuration. The project is built with Maven and structured using sub-...
andrearro88's user avatar
31 votes
9 answers
75k views

How to POST form-url-encoded data with Spring Cloud Feign

Using spring-mvc annotations: How can I define an @FeignClient that can POST form-url-encoded?
Newbie's user avatar
  • 7,259