Attributing channel faults to "what went wrong"

I’m trying to nail down the source of some error messages.

I can find this corresponding error in the CWMP log by grepping for task_5fb2a3bb2e4fcd4f9d7cf2cd

2020-11-25T09:14:32.776Z [WARN] 172.19.0.7 < redacted >: Channel has faulted; channel=“task_5fb2a3bb2e4fcd4f9d7cf2cd” retries=0 faultCode=“script.Error” faultMessage=“Invalid arguments”

But where do I go from here?

This tells me that invalid arguments were passed to the task. What was the original task that caused this fault?

Identifying the original task is really what I’m asking about. I need some assistance to find out what passed the invalid arguments.

For context, the error messages look like this:

name: Error
message: Invalid arguments
stack: |-
 Error: Invalid arguments
     at refresh

For posterity and others: I was unaware of the “tasks” collection in mongodb.