409 conflict error while patching appointment

205 ogledov
Preskoči na prvo neprebrano sporočilo
Osebi sansch...@gmail.com je dodelila oseba aaron....@oracle.com

Ravi Lohiai

neprebran,
28. dec. 2020, 06:43:4428. 12. 20
do 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

neprebran,
29. dec. 2020, 11:55:5429. 12. 20
do 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)

neprebran,
29. dec. 2020, 16:40:2829. 12. 20
do 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

neprebran,
29. dec. 2020, 21:46:1129. 12. 20
do 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

neprebran,
4. jan. 2021, 05:32:584. 1. 21
do cerner-fhir...@googlegroups.com
Hi Eric,

Please help here.

Regards,
Ravi Lohia

Sydne Anschutz (Cerner)

neprebran,
4. jan. 2021, 10:27:574. 1. 21
do 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

neprebran,
4. jan. 2021, 10:32:464. 1. 21
do cerner-fhir...@googlegroups.com
Yes it does. I have matched the header.

It was working for me earlier.

Regards,
Ravi Lohia

Sydne Anschutz (Cerner)

neprebran,
4. jan. 2021, 10:55:434. 1. 21
do 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

neprebran,
5. jan. 2021, 00:41:005. 1. 21
do cerner-fhir...@googlegroups.com
Odgovori vsem
Odgovori avtorju
Posreduj
Ta pogovor je zaklenjen
Na zaklenjene pogovore ne morete odgovarjati ali v njih izvajati dejanj.
0 novih sporočil