Sandbox error

60 views
Skip to first unread message

aditi malvankar

unread,
Aug 4, 2023, 11:27:20 AM8/4/23
to Data at the Point of Care (DPC) Community
Hi DPC team, 

While generating new key we are getting following error 'must have valid encoding'. Can you please confirm if any service is down from your end?image

Data at the Point of Care (DPC) Community

unread,
Aug 4, 2023, 12:26:39 PM8/4/23
to Data at the Point of Care (DPC) Community
Hi Aditi,

Thanks for reaching out! Our team is working to get you a response and we'll get back to you shortly. 

Best!

The DPC Team

Please be careful not to share either Personally Identifiable Information (PII) as defined in the Privacy Act of 1974 or Protected Health Information (PHI) when communicating with our team via email or in our Google Group. In certain circumstances, CMS may ask you to provide a data file to assist us in troubleshooting a problem that you bring to our attention. In those instances, we will provide you with instructions for how to handle the transmission. 

Data at the Point of Care (DPC) Community

unread,
Aug 7, 2023, 4:32:45 PM8/7/23
to Data at the Point of Care (DPC) Community

Hi Aditi,

We appreciate your patience while we investigated this issue. It appears that no services are down and that we're able to generate keys using the steps provided in the documentation. 

When the public key is invalid, the sandbox portal returns the error you received. Here are some steps you can follow to verify your public key string.

  • Check that the whole string is copied and pasted from the public.pem file. It should begin with:
    -----BEGIN PUBLIC KEY-----

    and end with:

     -----END PUBLIC KEY-----

  • Verify the public.pem file is valid using the following command:

    openssl rsa -noout -text -inform PEM -in public.pem -pubin
  • Confirm that the public key and signature snippet are provided in the correct form inputs.

Please try to verify the public key format and regenerate the public key following the tips provided. If the issue persists, please feel free to reach out to us. 

Best, 

The DPC Team


Please be careful not to share either Personally Identifiable Information (PII) as defined in the Privacy Act of 1974 or Protected Health Information (PHI) when communicating with our team via email or in our Google Group. In certain circumstances, CMS may ask you to provide a data file to assist us in troubleshooting a problem that you bring to our attention. In those instances, we will provide you with instructions for how to handle the transmission

Reply all
Reply to author
Forward
0 new messages