feign.FeignException: status 405 reading EmployeeApi#saveEmployee(EmployeeDTO); content: {"timestamp":"2016-09-30","status":405,"error":"Method Not Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request method 'POST' not supported","path":"/employee"}

Stack Overflow | javaso | 2 months ago
  1. 0

    Adding validation for request parameter- adding MethodValidationPostProcessor gives 405 error

    Stack Overflow | 2 months ago | javaso
    feign.FeignException: status 405 reading EmployeeApi#saveEmployee(EmployeeDTO); content: {"timestamp":"2016-09-30","status":405,"error":"Method Not Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request method 'POST' not supported","path":"/employee"}
  2. 0

    Required request body content-type is missing

    GitHub | 12 months ago | Dreampie
    feign.FeignException: status 415 reading UserService#save(UserEntity); content: {"timestamp":1449730257803,"status":415,"error":"Unsupported Media Type","exception":"org.springframework.web.HttpMediaTypeNotSupportedException","message":"Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported","path":"/users"}
  3. 0

    [Needs Investigation] Returning an Optional<String> when Content-Type=application/json causes unexpected errors

    GitHub | 10 months ago | leeavital
    feign.FeignException: Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser) at [Source: java.io.BufferedReader@2b662a77; line: 1, column: 2] reading GET http://localhost:8442/.....
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 264#202624306

    GitHub | 8 months ago | jared2501
    feign.FeignException: Unrecognized field "anonymous" (class com.palantir.lock.LockClient), not marked as ignorable (one known property: "clientId"]) at [Source: java.io.BufferedReader@65fd2eeb; line: 1, column: 73] (through reference chain: com.palantir.lock.LockClient["anonymous"]) reading POST https://stemma1.palantir.dev:7333/stemma/api/lock/try-lock/
  6. 0

    Invalid leader config does not timeout

    GitHub | 3 months ago | harishutd
    feign.FeignException: status 404 reading PaxosLearner#getLearnedValuesSince(long); content: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /salt/learner/learned-values-since/0. Reason: <pre> Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html>

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. feign.FeignException

      status 405 reading EmployeeApi#saveEmployee(EmployeeDTO); content: {"timestamp":"2016-09-30","status":405,"error":"Method Not Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request method 'POST' not supported","path":"/employee"}

      at feign.FeignException.errorStatus()
    2. feign-core
      ReflectiveFeign$FeignInvocationHandler.invoke
      1. feign.FeignException.errorStatus(FeignException.java:62)
      2. feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:91)
      3. feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:134)
      4. feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
      5. feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
      5 frames