Skip to content

Commit

Permalink
Etag updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vgiurgiu committed May 29, 2024
1 parent 8655033 commit d867d2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static/swagger-specs/destinations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ paths:
errorDetails: "connections not found with id = [ca5c6e9a-8559-4a08-97a5-f15b756da600-]"
'412':
description: >
Pre-condition failed error. This can occur if the supplied eTag does not match the latest eTag for the resource.
To resolve this, you need to fetch the entity again, make sure that your changes are compatible with new version of the entity, then place the new etag in the If-Match header, and finally make the API call.
Pre-condition failed error. This can occur if the supplied eTag does not match the latest eTag for the resource or if the supplied eTag is not correctly wrapped in double quotes.
To resolve this, you need to fetch the entity again, make sure that your changes are compatible with new version of the entity, then place the new eTag in the If-Match header, and finally make the API call, while ensuring the eTag is wrapped in double quotes "".
x-summary: "Precondition Failed - ETag Mismatch"
content:
application/json:
Expand Down Expand Up @@ -7572,7 +7572,7 @@ components:
if-match:
in: header
name: if-match
description: "A header containing the eTag value of the entity to be updated (destination dataflow, base or target connection, etc.). Perform a GET request to return the latest eTag version of the entity."
description: "A header containing the eTag value of the entity to be updated (destination dataflow, base or target connection, etc.). Perform a GET request to return the latest eTag version of the entity. Note that you always need to wrap this header in double quotes when using it."
schema:
type: string
required: true
Expand Down

0 comments on commit d867d2b

Please sign in to comment.