Invalid HTTP method: PATCH
See original GitHub issueInvalid HTTP method: PATCH executing PATCH https://…
@RequestLine("PATCH /v1/api/customers?customerId=1)
How can I solve this?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
HttpURLConnection Invalid HTTP method: PATCH
When I try to use a non-standard HTTP Method like PATCH with URLConnection: HttpURLConnection ...
Read more >Invalid HTTP Method: PATCH | Javarevisited - Medium
Frustrating right? When Java tells you that a valid HTTP method PATCH is not valid, as a REST API developer, your eyebrow muscles...
Read more >Invalid HTTP method: PATCH when calling Rest Webservices ...
I call a webservice implementing HTTP patch from the Microprofile Rest Client. When using the MP Rest Client I get the following error:...
Read more >Solved: HubSpot Community - Invalid HTTP method: PATCH
Solved: Hi, I am trying to update a company but I get the error "Invalid HTTP method: PATCH" as soon as I set...
Read more >HttpURLConnection: Invalid HTTP method PATCH
Hi, I am working on one ADF application(Using Jdeveloper 11.1.1.7.0, JDK 1.7.0.80), where I am calling one REST API patch operation using ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have come across this issue recently. The Default client (Default implements Client) is using HttpsURLConnection in which the valid HTTP methods are
private static final String[] methods = { "GET", "POST", "HEAD", "OPTIONS", "PUT", "DELETE", "TRACE" };PATCH is not in the list, results the exception. Feign had nothing to with the issue.I am using ApacheHttpClient for PATCH Requests now.
Created #1348 for the
HttpClientenhancement.