Altamash Shaikh

Results 83 comments of Altamash Shaikh

@tsteur I tried locally and seems to working for me, can you share more details on this to reproduce the same error ![Screenshot from 2023-12-27 15-12-26](https://github.com/matomo-org/plugin-GoogleAnalyticsImporter/assets/14902277/252cc4c5-1555-43d1-bb3d-f7790e45bf19)

@tsteur Do you mean you deleted a site which had a GA import running and started getting above error post deletion ?

@tsteur We are deleting the import by registering to [SitesManager.deleteSite.end](https://github.com/matomo-org/plugin-GoogleAnalyticsImporter/blob/5.x-dev/GoogleAnalyticsImporter.php#L40) event, may be some edge case where this event is not being fired ?

@paul-buttimore This issue is related to Matomo TagManager and we should create a issue for it in the [TagManager](https://github.com/matomo-org/tag-manager/issues) repository, I will move this issue for now

@shanerutter-kempston are you using the latest version of the plugin v4.4.6 ? We did fix this issue with #329, what error do you get ?

@shanerutter-kempston Can you check the token grant rate graph ? ![Screenshot from 2023-01-26 11-51-28](https://user-images.githubusercontent.com/14902277/214770666-7d2a8c7b-15b3-4589-a231-cff29db2122d.png) It will be in your `OAuth consent screen`

I am assuming the rate limits are the cause of this issue

@shanerutter-kempston Can you confirm your Oauth app is internal/external ? If external can you try publishing it by following this [doc](https://matomo.org/faq/general/set-up-google-analytics-import/) and reauthorizing and checking again ?

@shanerutter-kempston I am still checking why we would get this error after running import for few hours, how much data does it import before throwing error any idea ? I...

@shanerutter-kempston have you set `./console googleanalyticsimporter:import-reports --idsite={YOUR_IMPORT_ID_SITE} -vvv` like this to run every hour and it works without any error ?