Questions tagged [http-status-code-409]

409 is one of the status codes a http server can return to a client when processing a request. 409 is defined as Conflict.

HTTP 409 is one of the status codes an http server can return to a client when processing a request. 409 is defined as Conflict.

The request could not be completed due to a conflict with the current state of the resource. This code is only allowed in situations where it is expected that the user might be able to resolve the conflict and resubmit the request. The response body SHOULD include enough information for the user to recognize the source of the conflict. Ideally, the response entity would include enough information for the user or user agent to fix the problem; however, that might not be possible and is not required.

Conflicts are most likely to occur in response to a PUT request. For example, if versioning were being used and the entity being PUT included changes to a resource which conflict with those made by an earlier (third-party) request, the server might use the 409 response to indicate that it can't complete the request. In this case, the response entity would likely contain a list of the differences between the two versions in a format defined by the response Content-Type.

28 questions
40
votes
3 answers

HTTP Status Code for Captcha

Sometimes (when the resource is requested too often) I'm intercepting the presentation of a (HTML) resource with a captcha. The interception doesn't produce any redirection. It happens all at the same URI. I'm wondering now which HTTP status code…
10
votes
1 answer

Distinguishing HTTP status code 403 and 409 in practice (or 400)

Even after reading many documents, books, spec I couldn't 100% be certain whether I should use http status code 403 or 409 in my case. Some argue that 403 should be used only with an authorization issue, but seeing twitter's api using 403 for update…
10
votes
1 answer

HTTP status: 409 vs 428

From List of HTTP status code (Wikipedia) it says: 409 Conflict Indicates that the request could not be processed because of conflict in the request, such as an edit conflict between multiple simultaneous updates. And 428 Precondition Required (RFC…
Gelin Luo
  • 14,035
  • 27
  • 86
  • 139
9
votes
4 answers

Sharepoint 2010 Client Object Model - Upload Document (409 Conflict)

I am using the SP2010 Client Object Model to upload to a document library, following the lead from Microsoft here: http://msdn.microsoft.com/en-us/library/ee956524.aspx#SP2010ClientOMOpenXml_Uploading I am facing an HTTP 409 (Conflict) status code…
Jeremy
  • 9,023
  • 20
  • 57
  • 69
5
votes
3 answers

Keycloak API createUser Java

Sample Java Code I use: public static AjaxResponse createUser(User newUser) { Keycloak keycloak = Keycloak.getInstance( SERVER_URL, REALM, USERNAME, PASSWORD, CLIENT_ID); // Get…
Bouramas
  • 1,077
  • 1
  • 17
  • 36
4
votes
0 answers

Ignoring 409 errors with Gradle when publishing

I configured Gradle for publishing a plugin to GitHub packages. When running the corresponding task, I get a (legitimate) 409, as I try to push the same artifact twice. Apparently, there is no way to configure GitHub packages to accept overwrites,…
Danilo Pianini
  • 966
  • 8
  • 19
4
votes
2 answers

409: conflict error while copying Artifacts in Artifactory using REST API

I am trying to make a copy of an artifact in the same repository in Artifactory from PowerShell. Below is the code I am using to achieve this. And I am getting "Invoke-RestMethod: The remote server returned an error: (409) Conflict." error when I…
Anu
  • 41
  • 2
2
votes
1 answer

How to pass additional context along with a Conflict() response

I have a Razor Pages page with some JavaScript sending form data to an API. The API tries to update the database, if there is a concurrency conflict, it returns 409. The JavaScript then checks if the response status is 409 and accordingly alerts the…
Zvi
  • 65
  • 5
2
votes
0 answers

Error: Request failed with status code 409

I am unable to make a POST request using axios. I dispatch an action which further sends the axios POST request to backend. The function that route has to perform is to require the body received and save to mongodb atlas. But it fails and the catch…
2
votes
2 answers

409 conflict error only on wifi only during register

I am trying to register the user. But the registration process is working fine on mobile data but it is returning 409 error on wifi network. I am unknown about this problem. The postman is also returning the 409 conflict. I am getting this response…
Nabin Dhakal
  • 1,949
  • 3
  • 20
  • 48
2
votes
1 answer

could not GET http.../artifactory/oss-snapshot-local/..bolts-android-24.2.0.pm

the issue is that when i try to build the gradle, it throws: Error:Could not GET 'http://oss.jfrog.org/artifactory/oss-snapshot-local/com/parse/bolts/bolts-android/24.2.0/bolts-android-24.2.0.pom'. Received status code 409 from server: Conflict i…
2
votes
1 answer

Is it allowed to use the 409 Conflict status code to prevent some fields from being updated in a HTTP PUT request

While working on an (json) REST API, I came upon the situation that we have a representation of a user resource where I wanted to prevent a field (email) to be overridden within a PUT. If I understand correctly, then a PUT should contain the entire…
mhogerheijde
  • 2,659
  • 1
  • 19
  • 24
1
vote
0 answers

409 issue of contact form 7 in WordPress

I am using contact form 7 in WordPress. But it gives a error in console when after clicking submit button and form is not submitting. Error is bellow POST…
shyamantha
  • 77
  • 1
  • 7
1
vote
1 answer

Error 409 – Contact Form scripts and styles not loading

I have been pulling my hair out over the last couple days trying to figure this issue out. Feels like i’ve tried everything, so i’m finally resorting to here. All of a sudden, the contact forms on my site just stopped working. The AJAX feature…
David
  • 144
  • 1
  • 12
1
vote
1 answer

connecting to expressjs app from angularjs

I am trying to build an application with angularjs as front end and rest api using express js. I built both the projects using yeoman and my angular app is running on localhost:9000 and my express app is running on localhost:3000. When i try to talk…
1
2