You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the AstraDBCQLToolComponent and was getting the following error when trying to build / run it
ValidationError: 1 validation error for Data
data
Input should be a valid dictionary [type=dict_type,
input_value='{', input_type=str]
For further information visit
https://errors.pydantic.dev/2.10/v/dict_type
The above error message was not really helpful
There was a really long stack trace, which wasn't of much help, but there was a clue somewhere in the middle
functools.partial(<built-in method run of _contextvars.Context
object at 0x1777f9fc0>, <bound method AstraDBCQLToolComponent....
| -> <function BaseEventLoop.run_in_executor
at 0x10134bf60>
-> <_UnixSelectorEventLoop running=True
closed=False debug=False>
File
"/Users/mukundha/.pyenv/versions/3.11.8/lib/python3.11/concurrent/
futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
| | -> None
| -> None
-> None
File "<string>", line 222, in run_model
File "<string>", line 222, in <listcomp>
File
"/Users/mukundha/Documents/work/fy26/workshop/ds-workshops-attende
es/langflow/.venv/lib/python3.11/site-packages/pydantic/main.py",
line 214, in __init__
It looked like error might be related to the run_model
tried to add few prints to debug the vars, then started seeing more useful error messages, for eg,
{'description': 'Unauthenticated gRPC operation (Status.Code.UNAUTHENTICATED->401): UNAUTHENTICATED: Invalid token', 'code': 401, 'grpcStatus': 'UNAUTHENTICATED', 'internalTxId': None}
{'description': "Table 'sensor_data' not found (in keyspace 'default_keyspace')", 'code': 400, 'grpcStatus': None, 'internalTxId': None}
If we are able to surface these messages to the Component status, that would be extremely helpful for the developers.
ValidationError: 1 validation error for Data
data
Input should be a valid dictionary [type=dict_type,
input_value='{', input_type=str]
For further information visit
https://errors.pydantic.dev/2.10/v/dict_type
Who can help?
No response
Operating System
Mac
Langflow Version
1.1.3
Python Version
3.12
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered:
Bug Description
I'm trying to use the
AstraDBCQLToolComponent
and was getting the following error when trying to build / run itThe above error message was not really helpful
There was a really long stack trace, which wasn't of much help, but there was a clue somewhere in the middle
It looked like error might be related to the
run_model
tried to add few prints to debug the vars, then started seeing more useful error messages, for eg,
If we are able to surface these messages to the Component status, that would be extremely helpful for the developers.
Reproduction
AstraDBCQLToolComponent
Expected behavior
Expected error:
Actual:
Who can help?
No response
Operating System
Mac
Langflow Version
1.1.3
Python Version
3.12
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: