The problem I’m having
My company’s daily production run halted during the dbt run command with this error on two models:
11:36:44 Completed with 2 errors, 0 partial successes, and 0 warnings:
11:36:44
11:36:44 Failure in model ()
11:36:44 Maximum number of tokens exceeded ().
11:36:44
11:36:44 Failure in model (<model 2 path>)
11:36:44 Maximum number of tokens exceeded ().
11:36:44
11:36:44 Done. PASS=XXX WARN=0 ERROR=2 SKIP=27 NO-OP=0 TOTAL=XXX
`
Any help on what these tokens are and how to overcome the error would be most appreciated.
The context of why I’m trying to do this
I need to fix the error and get the production run to complete so that my project’s data can be delivered to its end users.
What I’ve already tried
I’ve been unable to find documentation on the error message or what tokens these are.
Some example code or error messages
11:36:44 Completed with 2 errors, 0 partial successes, and 0 warnings:
11:36:44
11:36:44 Failure in model <model name> (<model path>)
11:36:44 Maximum number of tokens exceeded (<quantity>).
11:36:44
11:36:44 Failure in model <model2 name> (<model 2 path>)
11:36:44 Maximum number of tokens exceeded (<quantity>).
11:36:44
11:36:44 Done. PASS=XXX WARN=0 ERROR=2 SKIP=YY NO-OP=0 TOTAL=XXX