404 Not Found while creating an allergy in customer sandbox works in public sandbox

51 views
Skip to first unread message

tri...@cura.tech

unread,
Apr 20, 2017, 10:25:31 AM4/20/17
to cerner-fhir...@googlegroups.com
Hi,

As part of POC I am trying to create an AllergyIntolerance. When I am using the sandbox, I am able to create without any issue on the public sandbox. When I try creating the same using the same dataset, I am getting 404 Not Found. Here is a request/response of both the requests.

Allergy intolerance data being posted on customer Domin:

Request/Response stacktrace:
POST /dstu2/7473bcdb-ca11-4bea-a7cc-eff8750b3ace/AllergyIntolerance HTTP/1.1
...
404 Not Found


Allergy data being posted on sandbox:
< POST /dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/AllergyIntolerance HTTP/1.1
< Host: fhir-ehr.sandboxcerner.com
< Connection: keep-alive
< Accept-Encoding: gzip, deflate
< Accept: application/json+fhir
< User-Agent: python-requests/2.13.0
< Accept-Charset: UTF-8
< Content-type: application/json+fhir
< Authorization: Bearer eyJraWQiOiIyMDE3LTA0LTE4VDE0OjEwOjA5LjI3NS5lYyIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJzdWIiOiJwb3J0YWwiLCJ1cm46Y29tOmNlcm5lcjphdXRob3JpemF0aW9uOmNsYWltcyI6eyJ2ZXIiOiIxLjAiLCJ0bnQiOiIwYjhhMDExMS1lOGU2LTRjMjYtYTkxYy01MDY5Y2JjNmIxY2EiLCJhenMiOiJvbmxpbmVfYWNjZXNzIHByb2ZpbGUgb3BlbmlkIHVzZXJcL0FsbGVyZ3lJbnRvbGVyYW5jZS5yZWFkIHVzZXJcL0FwcG9pbnRtZW50LnJlYWQgdXNlclwvQmluYXJ5LnJlYWQgdXNlclwvQ2FyZVBsYW4ucmVhZCB1c2VyXC9Db25kaXRpb24ucmVhZCB1c2VyXC9Db250cmFjdC5yZWFkIHVzZXJcL0RldmljZS5yZWFkIHVzZXJcL0RpYWdub3N0aWNSZXBvcnQucmVhZCB1c2VyXC9Eb2N1bWVudFJlZmVyZW5jZS5yZWFkIH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LjAwNDQuMUQ4NyIsImlkc3BVcmkiOiJodHRwczpcL1wvbWlsbGVubmlhLnNhbmRib3hjZXJuZXIuY29tXC9hY2NvdW50c1wvZmhpcnBsYXkudGVtcF9yaG8uY2VybmVyYXNwLmNvbVwvMGI4YTAxMTEtZThlNi00YzI2LWE5MWMtNTA2OWNiYzZiMWNhXC9sb2dpbiJ9LCJ0ZW5hbnQiOiIwYjhhMDExMS1lOGU2LTRjMjYtYTkxYy01MDY5Y2JjNmIxY2EifX0.vVrIf77M0A8YXsSqST849GmKkteiwmdAFGv3iQcUkZGb6GCE4pQX5BP9FHki5MLnRVLbEPhHq0hnL36fzPLdmw
< Content-Length: 366
<
< {"category": "food", "onset": "2017-04-20", "substance": {"coding": [{"code": "160244002", "system": "http://snomed.info/sct"}]}, "patient": {"reference": "Patient/4478007"}, "criticality": "CRITL", "resourceType": "AllergyIntolerance", "note": {"text": "No allergies to consider"}, "status": "unconfirmed", "recordedDate": "2017-04-20T18:00:11Z", "type": "allergy"}
> HTTP/1.1 201 Created
> Date: Thu, 20 Apr 2017 13:54:21 GMT
> Cache-Control: no-cache
> Vary: Origin,User-Agent
> Strict-Transport-Security: max-age=631152000
> Server-Response-Time: 708.2701470000001
> X-XSS-Protection: 1; mode=block
> Pragma: no-cache
> X-Request-Id: 6a85febd87c1e7f6335e611ba7efd02b
> ETag: W/"6223755"
> X-Frame-Options: SAMEORIGIN
> X-Runtime: 0.708250
> X-Content-Type-Options: nosniff
> Expires: Mon, 01 Jan 1990 00:00:00 GMT
> Last-Modified: Thu, 20 Apr 2017 13:54:22 GMT
> Location: https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/AllergyIntolerance/6207733
> Status: 201 Created
> Content-Length: 0
> Content-Type: application/json+fhir
> Keep-Alive: timeout=15, max=100
> Connection: Keep-Alive
>

Jenni Syed (Cerner)

unread,
Apr 20, 2017, 11:37:34 AM4/20/17
to Cerner FHIR Developers
Hi Trinadh,

FYI: You should remove your authorization tokens when posting examples. In addition, do not post request body or response bodies any of the non-public sandbox domains. You can just provide the X-Request-Id from the response and we can track down the issue. While the data above is not sensitive, it's better to get into production-like habits and protect PHI and PII.

We'll provide an update once we check the sandbox above.

~ Jenni

Jenni Syed (Cerner)

unread,
Apr 20, 2017, 11:48:11 AM4/20/17
to Cerner FHIR Developers
Similar to https://groups.google.com/d/msg/cerner-fhir-developers/GfPX1fZTbm8/KS4yE0FZAwAJ, we're addressing the remaining setup to get this workflow activated in this specific sandbox.

Trinadh Baranika

unread,
Apr 20, 2017, 11:59:49 AM4/20/17
to Jenni Syed (Cerner), Cerner FHIR Developers
Hi Jenni,

Thanks for the update.. Also I will take care of sending only x-request-id next time.

Thanks
Trinadh..

On Thu, Apr 20, 2017 at 9:18 PM, Jenni Syed (Cerner) <jenni...@cerner.com> wrote:
Similar to https://groups.google.com/d/msg/cerner-fhir-developers/GfPX1fZTbm8/KS4yE0FZAwAJ, we're addressing the remaining setup to get this workflow activated in this specific sandbox.

--
You received this message because you are subscribed to a topic in the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cerner-fhir-developers/jdICL8lIa18/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cerner-fhir-developers+unsub...@googlegroups.com.
To post to this group, send email to cerner-fhir-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/f8db2e10-8e94-4703-87a1-564ee0d61fd1%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages