While working on a new rule, I starting getting this error when trying it out:
ERROR: Unknown error. Possible reason: you are not calling callback(null, user, context)
Turns out this happened after I updated to name of the rule so it contained the @-symbol; removing it resolved the issue.
Doesn’t seem to be documented, and should probably by rejected to avoid confusion.