Has anyone ever run into an issue where they get t...
# ask-community
j
Has anyone ever run into an issue where they get the error 
Nonetype object has no attribute 'to_sql
 but only in production? I've spot checked and my load statement is constructed identically, registration is fine, etc. Local runs go fine as well.
k
I think this means your upstream task is returning
None
. I think it might help you to log some output inside the task before it’s returned to get an idea
j
This is a part of a case statement, so the upstream task is the condition check. I put in some print statements and its definitely returning things
k
Could you show the Flow definition (just the Flow block)?