Skip to content

Commit

Permalink
Merge pull request AdobeDocs#240 from vgiurgiu/PLAT-192685-etag-updates
Browse files Browse the repository at this point in the history
PLAT-192685: Etag updates [REVIEW]
  • Loading branch information
vgiurgiu authored May 29, 2024
2 parents 8655033 + d867d2b commit 02516b4
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 02516b4

Please sign in to comment.