Page MenuHomePhabricator

EventLogging validation error: 'user.id' is a required property (schema:Edit)
Closed, ResolvedPublic1 Story Points

Description

event revision 13457736
event schema Edit
message level ERROR
message

u'user.id' is a required property

Sample:

{"event":{"version":1,"action":"saveSuccess","editor":"visualeditor","platform":"desktop","integration":"page", .. ,"user.editCount":10,"mediawiki.version":"1.27.0-wmf.3","user.class":"IP","action.saveSuccess.timing":6455},"revision":13457736,"schema":"Edit","webHost":"en.wikipedia.org","wiki":"enwiki"}

About 100 hits for this error in the past 14 hours.

See also https://meta.wikimedia.org/wiki/Schema:Edit.

Event Timeline

Krinkle created this task.Oct 27 2015, 5:26 AM
Krinkle raised the priority of this task from to Needs Triage.
Krinkle updated the task description. (Show Details)
Krinkle added subscribers: Aklapper, Krinkle, Jdforrester-WMF.

I don't see how this error is possible.

Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 3 2015, 10:50 PM

There's another 75 entries in the last 12 hours for this exact error. https://logstash.wikimedia.org/#dashboard/temp/AVDVI0QxptxhN1XaVdJd

Sample:

event.schema Edit event.revision 13457736
host eventlog1001.eqiad.wmnet
level ERROR
message u'user.id' is a required property
rawEvent (urldecoded)

	  	{"event":{"version":1,"action":"saveSuccess","editor":"visualeditor","platform":"desktop","integration":"page",
	  	"page.id":48455120,"page.title":"User:Shannon.mulhern.","page.ns":2,"page.revid":688950702 [..]
	  	"user.class":"IP","action.saveSuccess.timing":Number},
	  	"revision":13457736,"schema":"Edit","webHost":"en.wikipedia.org","wiki":"enwiki"}

schema EventError revision 14035058

https://en.wikipedia.org/w/index.php?title=User:Shannon.mulhern.&diff=next&oldid=688950702

Jdforrester-WMF triaged this task as Normal priority.Jan 19 2016, 8:24 PM
Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.

Change 269353 had a related patch set uploaded (by Jforrester):
mw.trackSubscriber: Force event.id to 0 if the user is anon

https://gerrit.wikimedia.org/r/269353

Change 269353 abandoned by Jforrester:
mw.trackSubscriber: Force event.user.id to 0 if the user is anon

https://gerrit.wikimedia.org/r/269353

Neil_P._Quinn_WMF raised the priority of this task from Normal to Needs Triage.Mar 30 2018, 10:31 AM
Neil_P._Quinn_WMF moved this task from Backlog to Radar on the Contributors-Analysis board.