Need Guidance About Bulk API Access

301 views
Skip to first unread message

javith ahamed

unread,
Apr 18, 2023, 9:32:06 AM4/18/23
to Oracle Cerner FHIR Developers
Hi,
    We are trying to access bulk API. but we got error as,
{
    "resourceType""OperationOutcome",
    "issue": [
        {
            "severity""error",
            "code""login",
            "diagnostics""Bearer realm=\"fhir-ehr-code.cerner.com\", error=\"invalid_token\"",
            "expression": [
                "http.Authorization"
            ]
        }
    ]
}

jagat jeevan nayak

unread,
Apr 20, 2023, 12:35:00 AM4/20/23
to Oracle Cerner FHIR Developers
Hi Javiz,
Per our group guidelines, can you provide the X-Request-Id from the response headers?

-Jagat (Oracle Cerner)

javith ahamed

unread,
Apr 25, 2023, 1:46:05 AM4/25/23
to Oracle Cerner FHIR Developers
Hi Jagat,
   
       This is the X-Request-Id from the Response headers -  27799628-7b37-43be-aace-48b344dae8c1      

jagat jeevan nayak

unread,
Apr 26, 2023, 2:42:02 AM4/26/23
to Oracle Cerner FHIR Developers
Hi Javiz,
We could not see any logs with the X request id you have provided.
Could you please share a latest one.

Thanks 
Jagat Nayak(Oracle Cerner)


javith ahamed

unread,
Apr 26, 2023, 8:35:55 AM4/26/23
to Oracle Cerner FHIR Developers
Hi Jagat,
       
            I will provide now and this is the new X request id -  76975900-0f36-4781-97e3-bcfa702841af.
Please check and let me know, if this is correct format or we need to change anything.

Thanks,
Javith

jagat jeevan nayak

unread,
Apr 26, 2023, 9:30:10 AM4/26/23
to Oracle Cerner FHIR Developers
Hello Javiz,
Sorry I could not get any logs with the provided x request Id I will be investigating  more.
Could you please attach a screenshot of how you are adding your bearer(mask the containt) token?

Thanks 
Jagat Nayak (Oracle Cerner)

javith ahamed

unread,
Apr 26, 2023, 10:16:11 AM4/26/23
to Oracle Cerner FHIR Developers
Hi Jagat,

         I will share the screenshot now along with error message and token set.

Thanks,
Javith

cerner.png

Nayak, Jagat

unread,
Apr 26, 2023, 10:21:22 AM4/26/23
to cerner-fhir...@googlegroups.com
Hi Javith,
Please  remove the space from the starting of the https request and try.
Thanks
Jagat Nayak (Oracle Cerner)


From: cerner-fhir...@googlegroups.com <cerner-fhir...@googlegroups.com> on behalf of javith ahamed <javiz...@gmail.com>
Sent: Wednesday, April 26, 2023 7:46:11 PM
To: Oracle Cerner FHIR Developers <cerner-fhir...@googlegroups.com>
Subject: Re: Need Guidance About Bulk API Access
 
--
You received this message because you are subscribed to the Google Groups "Oracle 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/8582a02d-f8cb-4693-a08c-81a370540244n%40googlegroups.com.
 

CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.

Message has been deleted

javith ahamed

unread,
May 1, 2023, 7:40:05 AM5/1/23
to Oracle Cerner FHIR Developers
Hi Jagat,

          Sorry for my mistake. I tried with removing the space and run that request but it still throws a same error. Can you provide any clarification why we are getting this error response?

Thanks,
Javith

jagat jeevan nayak

unread,
May 2, 2023, 9:40:18 AM5/2/23
to Oracle Cerner FHIR Developers
Hi Javith,
Sorry for my late in response.
Could you please check whether  your app has been registered in the code console? if yes please share us the app id and client id.
Thanks
Jagat Nayak(Oracle Cerner)

javith ahamed

unread,
May 3, 2023, 1:49:10 AM5/3/23
to Oracle Cerner FHIR Developers
Hi Jagat,

      Thanks for your reply. Our App id is "bc2edb38-a6c3-48fc-bda5-916ed1b7d52e" and Client Id is "e0793b50-cb83-4abe-81e0-07506a7d4dc0". Please check and let me know how to access Bulk API.

Thanks,
Javith

jagat jeevan nayak

unread,
May 3, 2023, 2:12:50 AM5/3/23
to Oracle Cerner FHIR Developers
Hi Javith,
We will update you as soon as possible.
Thanks
Jagat Nayak(Oracle Cerner)

javith ahamed

unread,
May 3, 2023, 6:42:48 AM5/3/23
to Oracle Cerner FHIR Developers
Hi Jagat,
    
     Thanks for you reply. Please update me as soon as possible and if you give me any information about What needs to be done in our side to access bulk API.

Thanks,
Javith

jagat jeevan nayak

unread,
May 3, 2023, 6:48:18 AM5/3/23
to Oracle Cerner FHIR Developers
Hi Javith,
The group id you are using is for some other server.Even we resolve this 401 error you may get 404 as the group id "11ec-d16a-c763b73e-98e8-a31715e6a2bf" is for another server.
Thanks 
Jagat(Oracle Cerner)

jagat jeevan nayak

unread,
May 3, 2023, 6:50:48 AM5/3/23
to Oracle Cerner FHIR Developers
Please take a look fhir.cerner.com.

javith ahamed

unread,
May 3, 2023, 7:46:10 AM5/3/23
to Oracle Cerner FHIR Developers
Hi Jagat,

    Thank you for response. So, so how can i get my server group id from my Application.

Thanks,
Javith

Esme Bolanos (Oracle Cerner)

unread,
May 3, 2023, 11:55:31 AM5/3/23
to Oracle Cerner FHIR Developers
Greetings Javith,

Your bulk-export transaction is failing with 401 because we are not able to decode your token. Please verify that your token is valid and properly encoded (can check with https://jwt.io/).

Additionally, in order to call the bulk api, you will need to use a Millennium Bulk Data smart app [1]. Using an app whose product is Millennium will result in 403.

Looking at your transaction in POSTMAN, it seems like you are trying to make an export for the 3-patient Group we have defined for our public sandbox: 11ec-d16a-c763b73e-98e8-a31715e6a2bf [2]. If you are trying to test in our public sandbox, then your url will need to be updated to use the correct tenant id of the sandbox. The correct url to call the sandbox would be (the examples in the documentation include the endpoints): 
https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Group/11ec-d16a-c763b73e-98e8-a31715e6a2bf/$export


Please let us know if you have additional questions.

Thank you,
   Esme (Oracle Cerner)

javith ahamed

unread,
May 5, 2023, 2:10:16 AM5/5/23
to Oracle Cerner FHIR Developers
Hi Esme,

           Thank you for your response. I go through those documents and here I'm trying to execute all the example endpoints in Postman using our System Account Bearer token.
and i tried these URL (https://jwt.io/) to check my bearer token is valid or not. It shows Invalid Signature in that URL (https://jwt.io/). So what is next step to run these Bulk API EndPoint?

Thanks,
Javith
Reply all
Reply to author
Forward
0 new messages