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
Describe the bug
Raises CogniteAPIError, not the more specific CogniteNotFoundError (which is raised e.g. on deleting missing time series).
Expected behavior
Raise CogniteNotFoundError.
Screenshots
raise CogniteAPIError(msg, code, x_request_id, missing=missing, duplicated=duplicated, extra=extra)
E cognite.client.exceptions.CogniteAPIError: Time series ids not found | code: 400 | X-Request-ID: 2e4ebd42-4d15-9
d63-a31d-c9257d727760
E Missing: [{'externalId': 'itest:deletepoint'
c:\python\python37-32\lib\site-packages\cognite\client\_api\datapoints.py:160: in retrieve_latest
raise tasks_summary.exceptions[0]
c:\python\python37-32\lib\site-packages\cognite\client\utils\_concurrency.py:127: in execute_tasks_concurrently
res = f.result()
c:\python\python37-32\lib\concurrent\futures\_base.py:435: in result
return self.__get_result()
c:\python\python37-32\lib\concurrent\futures\_base.py:384: in __get_result
raise self._exception
c:\python\python37-32\lib\concurrent\futures\thread.py:57: in run
result = self.fn(*self.args, **self.kwargs)
c:\python\python37-32\lib\site-packages\cognite\client\_api_client.py:110: in _post
"POST", url_path, json=json, headers=headers, params=params, timeout=self._config.timeout
c:\python\python37-32\lib\site-packages\cognite\client\_api_client.py:138: in _do_request
self._raise_API_error(res, payload=json_payload)
System information:
OS: Windows 10
Python Version: 3.7
SDK Version: cognite-sdk-core 1.3.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Raises CogniteAPIError, not the more specific CogniteNotFoundError (which is raised e.g. on deleting missing time series).
Expected behavior
Raise CogniteNotFoundError.
Screenshots
System information:
The text was updated successfully, but these errors were encountered: