[英]Segment.IO requests failing with Status of cancelled
I've followed the steps here: https://segment.io/libraries/analytics.js without deviating from their instructions. 我在这里遵循了以下步骤: https : //segment.io/libraries/analytics.js,而没有偏离其说明。
Here are the headers from one of the requests: 以下是其中一个请求的标头:
Request URL:http://api2.segment.io/v1/t
Request Headersview source
Content-Type:text/plain
Origin:http://staging.mywebsite.com
Referer:http://staging.mywebsite.com/
User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36
Request Payloadview source
{userId:null, sessionId:ccea006ec74cc613, event:Loaded a Page,…}
apiKey: "eijofijoi4r"
callbackId: 350
context: {}
event: "Loaded a Page"
properties: {url:http://staging.mywebsite.com/, referrer:,…}
sessionId: "ccea006ec74cc613"
userId: null
Both the Preview
and the Response
have no data available. Preview
和Response
都没有可用数据。 Other attributes worth mentioning: 其他值得一提的属性:
Method: POST
Status: (cancelled)
Type: Pending
What are the reasons that could cause a status of (cancelled)
? 导致(cancelled)
状态的原因是什么?
Are there any steps I can take to gather more information? 我可以采取任何步骤来收集更多信息吗?
我也看到了这一点-事实证明,AdBlock扩展程序阻止了请求。
It could possibly be due to a deeply nested object inside properties that the API doesn't like. 可能是由于API不喜欢的属性中嵌套的对象太深所致。 I think we take objects nested up to 7 levels deep last I checked. 我认为我们上次检查时最多带了7个嵌套的对象。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.