未捕获的TypeError:无法在Google AnalyticsAPI中读取null的属性'sub' [英] Uncaught TypeError: Cannot read property 'sub' of null in Google Analytics API

查看:106
本文介绍了未捕获的TypeError:无法在Google AnalyticsAPI中读取null的属性'sub'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个使用google analytics api的应用程序,即 https:// apis。 google.com/js/client.js?onload=load



我很好地使用,但是现在突然出现一个错误
Uncaught TypeError :弹出窗口输入用户名和密码后,无法读取null
的属性'sub',

之前工作正常,但现在显示此错误。
任何人都可以请帮我解决这个问题。



谢谢,
Mayank

解决方案

这是Google API Javascript客户端中的一个错误,我的生产站点也受到影响。错误报告已在 https://代码中提交.google.com / p / google-api-javascript-client / issues / detail?id = 110 ,它目前被开发团队列为关键优先级。他们已确定原因并正在努力解决问题。希望我们能在今天结束之前得到一个。


i created one application which uses google analytics api ie https://apis.google.com/js/client.js?onload=load

and i was using nicely but suddenly now one error is coming Uncaught TypeError: Cannot read property 'sub' of null after popup comes for username and password,

it was working fine before but now it is showing this error. can anyone please help me out with this.

Thanks, Mayank

解决方案

This is a bug in the Google API Javascript Client, and my production site is being affected as well. A bug report was filed at https://code.google.com/p/google-api-javascript-client/issues/detail?id=110, and it is currently labeled critical priority by the development team. They have "identified the cause and are working on a fix". Hopefully we'll get one by the end of today.

这篇关于未捕获的TypeError:无法在Google AnalyticsAPI中读取null的属性'sub'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆