-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'timestamp' #5794
Comments
The Here are the steps to ensure the
By ensuring that the |
Other fileds may also be none, there is something wrong in the function. |
The errors you're encountering indicate that
To address these issues, ensure that these conditions are handled properly in your code. For example, you can add checks to handle if workflow_run is None:
# Handle the case where workflow_run is None
return
if outputs is None:
# Handle the case where outputs is None
return Additionally, you might want to review the initialization and management of the |
Self Checks
Dify version
0.6.11
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Create a workflow and send request to api.
✔️ Expected Behavior
Success for response.
❌ Actual Behavior
Error with error log:
The text was updated successfully, but these errors were encountered: