Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

GA4 Index and length must refer to a location within the string. Parameter name: length

I could not import the data from Google Analytics due to this error:

ann_ng_0-1702278849927.png

 

The data still get updated in Edit query but I could not load it to my report. How can I fix this?

 

Status: Accepted

Hi all ,

We have seen on the internal platform that other engineers have reported this issue and submitted it. 

The engineers on the product team are now aware and will do their best to resolve the issue. I will update here if there is any progress, so please be patient ! Thank you for your cooperation !

 

Best Regards,
Community Support Team _ Ailsa Tao

Comments
AnaR0000000
New Member

Same issue here

Vincent_M
Regular Visitor

Same issue here

v-yetao1-msft
Community Support
Status changed to: Accepted

Hi all ,

We have seen on the internal platform that other engineers have reported this issue and submitted it. 

The engineers on the product team are now aware and will do their best to resolve the issue. I will update here if there is any progress, so please be patient ! Thank you for your cooperation !

 

Best Regards,
Community Support Team _ Ailsa Tao

SRW
Regular Visitor

Hi ,

 

I am also facing same issue since last 8-10 days. Currently I am using Dec-2023 Power BI version. 

This issue occurs when I use dimensions like sessionCampaignName, sessionDefaultChannelGroup,sessionMedium.

Can anyone please help me?

Rayhane
New Member

22-12-2023 Still having the same problem

ankitajaiswal
Regular Visitor

Have the same issue. I request the support team to share the timeline of the resolution.

JorgeSilva
New Member

Same issue here

rish
Frequent Visitor

Still experiencing the same error.
"Index and length must refer to a location within the string. Parameter name: length"


Support team please share updates here, it's the first week of the month and reporting will need to resume soon! Thanks!

----
Asking again on 19/1/2024, been a month since you accepted this issue. @v-yetao1-msft  Hoping to recieve some updates on a timeline to get this resolved.

----
Asking again on 23/2/2024, been 2 month since you accepted this issue. @v-yetao1-msft  Please provide some updates.

 

-----

 

It is finally resolved! I updated the PBI to the latest version and the GA4 connector is back up and running again!

BertPH
Regular Visitor

Is there any update here with regards to this issue?

ReportMaster
Helper V

As a workaround, maybe you can try to test your connection with a 3rd party tool. I've tried windsor.ai, supemetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the GA4 connector in the data sources list:

 

GA4-1.png

 

After that, just grant access to your GA4 account using your credentials, then on preview and destination page you will see a preview of your GA4 fields:

 

GA4-2.png

 

There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url. 

 

SELECT_DESTINATION_NEW.png