-
Notifications
You must be signed in to change notification settings - Fork 306
Closed
Labels
SDKIssue pertains to the SDK itself and not specific to any serviceIssue pertains to the SDK itself and not specific to any service
Description
I'm having this error when trying to query an OCI NoQSL Tables.
Traceback (most recent call last):
File "/mnt/5cb80605-c86e-4351-b941-96d1cb6eadab/Documents/Projects/camerite-remora-v2/regenerate_timeline.py", line 133, in <module>
create_by_old_nosql()
File "/mnt/5cb80605-c86e-4351-b941-96d1cb6eadab/Documents/Projects/camerite-remora-v2/regenerate_timeline.py", line 118, in create_by_old_nosql
response: oci.nosql.models.QueryResultCollection = nosql_cli.query(
File "/home/ezequiel/.pyenv/versions/camerite-remora-v2/lib/python3.9/site-packages/oci/nosql/nosql_client.py", line 1926, in query
return retry_strategy.make_retrying_call(
File "/home/ezequiel/.pyenv/versions/camerite-remora-v2/lib/python3.9/site-packages/oci/retry/retry.py", line 272, in make_retrying_call
return func_ref(*func_args, **func_kwargs)
File "/home/ezequiel/.pyenv/versions/camerite-remora-v2/lib/python3.9/site-packages/oci/base_client.py", line 303, in call_api
response = self.request(request)
File "/home/ezequiel/.pyenv/versions/camerite-remora-v2/lib/python3.9/site-packages/oci/base_client.py", line 441, in request
deserialized_data = self.deserialize_response_data(
File "/home/ezequiel/.pyenv/versions/camerite-remora-v2/lib/python3.9/site-packages/oci/base_client.py", line 684, in deserialize_response_data
res = self.__deserialize(response_data, response_type)
File "/home/ezequiel/.pyenv/versions/camerite-remora-v2/lib/python3.9/site-packages/oci/base_client.py", line 734, in __deserialize
return self.__deserialize_model(data, cls)
File "/home/ezequiel/.pyenv/versions/camerite-remora-v2/lib/python3.9/site-packages/oci/base_client.py", line 817, in __deserialize_model
value = data[property]
TypeError: string indices must be integers
This is happening because, for some reason, the OCI NoSQL Tables that I'm interacting with has "control characters" registered.
The solution is described on PR #403
Metadata
Metadata
Assignees
Labels
SDKIssue pertains to the SDK itself and not specific to any serviceIssue pertains to the SDK itself and not specific to any service