What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

The access scope is invalid: reports_editing

The access scope is invalid: reports_editing

cuongvdezm
Visitor
2 0 0

Hi everyone, I'm trying to fetch Analytics Data using app with Oauth. 

I've read some threads here and got advice to use scope reports_editing

But during authentication, I got the messenge "Oauth error invalid_scope: The access scope is invalid: reports_editing" and the authentication stopped.

My store is "Shopify Plus"

Can someone tell me if the scope reports_editing is available in Shopify Plus or how can I enable it?

 

Replies 2 (2)

Luke_K
Shopify Staff
402 66 102

Hey @cuongvdezm 

Thanks for getting in touch regarding this. I've looked into this and looking back to 2017, it seems reports_editing was an old (now invalid) scope that was tied to the Analytics API.  This scope is not available to be enabled anymore I understand.

The reports publishing API and the Reports resource is available to Shopify Advanced and Shopify Plus merchants - (it's the write_reports scope) It's used for creating reports (there's some docs here of how to add this scope via Oauth).

As an aside, we're aware that many merchants/partners are requesting a dedicated Analytics API - there is a proper API in mind there ultimately, and there has been discussion/work towards it. I can't offer a timeframe of when this would be delivered, but any updates would be communicated via the Shopify Community Forums and also via our Developer Changelog. I hope that at least clears up any confusion!

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
cuongvdezm
Visitor
2 0 0

Thank you very much @Luke_K !

It seems like there's no ways to get analytics data via API

I see that we can get it via EASDK. But I've read in document that EASDK will be removed from Shopify next year.

Do you know any ways I can get Analytics Data?