409 conflict error while patching appointment

237 views
Skip to first unread message
Assigned to sansch...@gmail.com by aaron....@oracle.com

Ravi Lohiai

unread,
Dec 28, 2020, 6:43:44 AM12/28/20
to Cerner FHIR Developers
please see the output response below:

{
    "statusCode": 409,
    "headers": {
        "Connection": "keep-alive",
        "Server-Response-Time": "783.8624140000001",
        "Vary": "Origin",
        "X-Request-Id": "fd3518cd-3ba5-42cf-9061-6a87af59e1cf",
        "X-Runtime": "0.783702",
        "X-Cache": "Error from cloudfront",
        "X-Amz-Cf-Pop": "SEA19-C2",
        "X-Amz-Cf-Id": "II3RYO9HXqP6xNL2-DcUwqI_NO06sK9D6v89UhXrH1b-uXzQeu53TQ==",
        "Cache-Control": "no-cache",
        "Date": "Mon, 28 Dec 2020 11:07:37 GMT",
        "Via": "1.1 d8792dbd3191bbe722eba5b536b979c8.cloudfront.net (CloudFront)",
        "Content-Length": "143",
        "Content-Type": "application/fhir+json; charset=utf-8"
    },
    "body": {
        "resourceType": "OperationOutcome",
        "issue": [
            {
                "severity": "error",
                "code": "conflict",
                "details": {
                    "text": "Current state of resource in conflict"
                }
            }
        ]
    }
}

Ravi Lohiai

unread,
Dec 29, 2020, 11:55:54 AM12/29/20
to cerner-fhir...@googlegroups.com
Please update on this.

--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/c52a8900-f65e-4614-8738-ef86be8ff5een%40googlegroups.com.


--
Regards,
Ravi Lohia
Phone Number : +91 9830844488
Alternate mail id: ravi....@yahoo.com

Eric Sornson (Cerner)

unread,
Dec 29, 2020, 4:40:28 PM12/29/20
to Cerner FHIR Developers
Hi mail.ra...@gmail.com! This error usually indicates the version of the resource you are attempting to update does not match the current version of the resource.  Make sure you're setting the 'If-Match' header to match the current version of the resource.

- Eric (Cerner)

Ravi Lohiai

unread,
Dec 29, 2020, 9:46:11 PM12/29/20
to cerner-fhir...@googlegroups.com
Hi Eric,

I checked again and the version does match in the if match header. Looks like some other issue. Please guide.

"W/\"0\""

Regards,
Ravi Lohia

--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.

Ravi Lohiai

unread,
Jan 4, 2021, 5:32:58 AM1/4/21
to cerner-fhir...@googlegroups.com
Hi Eric,

Please help here.

Regards,
Ravi Lohia

Sydne Anschutz (Cerner)

unread,
Jan 4, 2021, 10:27:57 AM1/4/21
to Cerner FHIR Developers
Hi Ravi,

Can you confirm that the version id is 0 for the appointment you are trying to patch? The if-match header should match the meta.versionId when preforming a GET on the resource. 

Sydne (Cerner)

Ravi Lohiai

unread,
Jan 4, 2021, 10:32:46 AM1/4/21
to cerner-fhir...@googlegroups.com
Yes it does. I have matched the header.

It was working for me earlier.

Regards,
Ravi Lohia

Sydne Anschutz (Cerner)

unread,
Jan 4, 2021, 10:55:43 AM1/4/21
to Cerner FHIR Developers
Have you preformed a get recently? Based on the XID you provided, it looks like the versionId of the resource should be 1.

- Sydne (Cerner)

Ravi Lohiai

unread,
Jan 5, 2021, 12:41:00 AM1/5/21
to cerner-fhir...@googlegroups.com
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages