Solved

GraphQL query for RUM data

mikef24
Visitor
1 0 0

I'm trying to query the admin API for RUM performanceMetrics. I get a 200 OK status, but it throws an error that I need access to themes and reports. The app in Shopify has those scopes. What am I doing wrong?

 

Screenshot 2024-05-14 102323.jpg

 

Screenshot 2024-05-14 102447 Scopes.jpg

Accepted Solution (1)

ShopifyDevSup
Shopify Staff
1363 228 476

This is an accepted solution.

Hey @mikef24

 

Just testing here I was able to replicate the error you were getting. I was able to resolve it by adding in the read_customer_events scope. 

 

 

I'll pass this feedback on to our product teams as that error message wasn't too helpful. 

 

- Kyle G. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1363 228 476

This is an accepted solution.

Hey @mikef24

 

Just testing here I was able to replicate the error you were getting. I was able to resolve it by adding in the read_customer_events scope. 

 

 

I'll pass this feedback on to our product teams as that error message wasn't too helpful. 

 

- Kyle G. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog