Error retrieving score

51 views
Skip to first unread message

Shane Jarrell

unread,
Oct 9, 2017, 3:06:36 PM10/9/17
to Developer Group for QPP APIs
Receiving the following error when trying to retrieve a record using https://qpp-submissions-sandbox.navapbc.com/submissions/76a9224c-902b-47da-89df-3719fb9086f5/score. I am using our provided API token when submitting.
{
    "error": {
        "message": "Cannot read property 'metricType' of undefined"
    }
}

Can we get the whole entire score model? I can't find it anywhere. 

Shane Jarrell

unread,
Oct 9, 2017, 3:22:55 PM10/9/17
to Developer Group for QPP APIs
I found the model on the swagger API. Still wondering about the error though. 

Shane Jarrell

unread,
Oct 9, 2017, 3:41:16 PM10/9/17
to Developer Group for QPP APIs
But now I'm just confused because of ONCOChart's post about the Quality score model isn't in fact in the documentation. 


On Monday, October 9, 2017 at 3:06:36 PM UTC-4, Shane Jarrell wrote:

Ivana Ng

unread,
Oct 9, 2017, 6:46:12 PM10/9/17
to Shane Jarrell, Developer Group for QPP APIs
Hi Shane - 

I believe the error you saw - "Cannot read property 'metricType' of undefined" - is because the performanceYear you specified is 2016. Currently, the API only handles scoring for 2017 submissions. Can you try resubmitting that data with "performanceYear: 2017" instead? In the meantime, I've filed a bug for the development team to make the error message more descriptive.

-Ivana



Ivana Ng
Product Manager

--
You received this message because you are subscribed to the Google Groups "Developer Group for QPP APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qpp-apis+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/qpp-apis.
To view this discussion on the web visit https://groups.google.com/d/msgid/qpp-apis/29d8c7cd-88b6-4192-b27f-12df152459f0%40googlegroups.com.

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

Shane Jarrell

unread,
Oct 10, 2017, 9:26:32 AM10/10/17
to Developer Group for QPP APIs
Thanks! That would be helpful and I'll be more discerning as well. What about the full response model for scores? It seems to cover IA and ACI in the documentation for the most part, maybe I'm just missing it, but I don't see any documentation on the quality response model. 


On Monday, October 9, 2017 at 6:46:12 PM UTC-4, Ivana Ng wrote:
Hi Shane - 

I believe the error you saw - "Cannot read property 'metricType' of undefined" - is because the performanceYear you specified is 2016. Currently, the API only handles scoring for 2017 submissions. Can you try resubmitting that data with "performanceYear: 2017" instead? In the meantime, I've filed a bug for the development team to make the error message more descriptive.

-Ivana



Ivana Ng
Product Manager

On Mon, Oct 9, 2017 at 1:41 PM, Shane Jarrell <shanele...@gmail.com> wrote:
But now I'm just confused because of ONCOChart's post about the Quality score model isn't in fact in the documentation. 

On Monday, October 9, 2017 at 3:06:36 PM UTC-4, Shane Jarrell wrote:
Receiving the following error when trying to retrieve a record using https://qpp-submissions-sandbox.navapbc.com/submissions/76a9224c-902b-47da-89df-3719fb9086f5/score. I am using our provided API token when submitting.
{
    "error": {
        "message": "Cannot read property 'metricType' of undefined"
    }
}

Can we get the whole entire score model? I can't find it anywhere. 

--
You received this message because you are subscribed to the Google Groups "Developer Group for QPP APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qpp-apis+u...@googlegroups.com.

Ivana Ng

unread,
Oct 19, 2017, 9:36:06 AM10/19/17
to Shane Jarrell, Developer Group for QPP APIs
Hi Shane - 

I believe the documentation you're referring to is https://cmsgov.github.io/qpp-submissions-docs/advanced-tutorial. I've filed a ticket to add quality to the scoring object in this tutorial, but I don't have an ETA for when we'll prioritize that ticket. 

-Ivana



Ivana Ng
Product Manager

To unsubscribe from this group and stop receiving emails from it, send an email to qpp-apis+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages