diff --git a/sdk/tables/azure-data-tables/CHANGELOG.md b/sdk/tables/azure-data-tables/CHANGELOG.md index d3aa558e6d5b..3d6d0eddf06c 100644 --- a/sdk/tables/azure-data-tables/CHANGELOG.md +++ b/sdk/tables/azure-data-tables/CHANGELOG.md @@ -1,11 +1,12 @@ # Release History -## 12.2.1 (2022-03-08) +## 12.2.1 (2022-03-10) ### Bugs Fixed * Fixed hard-coded URL scheme in batch requests (#21953) * Improved documentation for query formatting in `query_entities` APIs (#23235) * Removed unsecure debug logging +* Remove client validation of table names (#23106) ### Other Changes * Python 2.7 is no longer supported. Please use Python version 3.6 or later. diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py index 925b93851280..d5620908be04 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py @@ -39,7 +39,12 @@ STORAGE_OAUTH_SCOPE, SERVICE_HOST_BASE, ) -from ._error import RequestTooLargeError, TableTransactionError, _decode_error +from ._error import ( + RequestTooLargeError, + TableTransactionError, + _decode_error, + _validate_tablename_error +) from ._models import LocationMode from ._authentication import SharedKeyCredentialPolicy from ._policies import ( @@ -256,8 +261,8 @@ def _configure_credential(self, credential): elif credential is not None: raise TypeError("Unsupported credential: {}".format(credential)) - def _batch_send(self, *reqs, **kwargs): - # type: (List[HttpRequest], Any) -> List[Mapping[str, Any]] + def _batch_send(self, table_name, *reqs, **kwargs): + # type: (str, List[HttpRequest], Any) -> List[Mapping[str, Any]] """Given a series of request, do a Storage batch call.""" # Pop it here, so requests doesn't feel bad about additional kwarg policies = [StorageHeadersPolicy()] @@ -290,7 +295,9 @@ def _batch_send(self, *reqs, **kwargs): error_message="The transaction request was too large", error_type=RequestTooLargeError) if response.status_code != 202: - raise _decode_error(response) + decoded = _decode_error(response) + _validate_tablename_error(decoded, table_name) + raise decoded parts = list(response.parts()) error_parts = [p for p in parts if not 200 <= p.status_code < 300] @@ -300,10 +307,12 @@ def _batch_send(self, *reqs, **kwargs): response, error_message="The transaction request was too large", error_type=RequestTooLargeError) - raise _decode_error( + decoded = _decode_error( response=error_parts[0], error_type=TableTransactionError ) + _validate_tablename_error(decoded, table_name) + raise decoded return [extract_batch_part_metadata(p) for p in parts] def close(self): diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_error.py b/sdk/tables/azure-data-tables/azure/data/tables/_error.py index 840dddb695dd..20773c12d303 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_error.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_error.py @@ -4,7 +4,7 @@ # license information. # -------------------------------------------------------------------------- import sys -from re import match +import re from enum import Enum from azure.core.exceptions import ( @@ -28,7 +28,6 @@ def _str(value): _str = str - def _to_str(value): return _str(value) if value is not None else None @@ -39,6 +38,19 @@ def _to_str(value): _ERROR_VALUE_NONE = "{0} should not be None." _ERROR_UNKNOWN_KEY_WRAP_ALGORITHM = "Unknown key wrap algorithm." +# Storage table validation regex breakdown: +# ^ Match start of string. +# [a-zA-Z]{1} Match an letter for exactly 1 character. +# [a-zA-Z0-9]{2,62} Match any alphanumeric character for between 2 and 62 characters. +# $ End of string +_STORAGE_VALID_TABLE = re.compile(r"^[a-zA-Z]{1}[a-zA-Z0-9]{2,62}$") + +# Cosmos table validation regex breakdown: +# ^ Match start of string. +# [^/\#?]{0,254} Match any character that is not /\#? for between 0-253 characters. +# [^ /\#?]{1} Match any character that is not /\#? or a space for exactly 1 character. +# $ End of string +_COSMOS_VALID_TABLE = re.compile(r"^[^/\\#?]{0,253}[^ /\\#?]{1}$") def _validate_not_none(param_name, param): if param is None: @@ -60,13 +72,56 @@ def _wrap_exception(ex, desired_type): return desired_type("{}: {}".format(ex.__class__.__name__, msg)) -def _validate_table_name(table_name): - if match("^[a-zA-Z]{1}[a-zA-Z0-9]{2,62}$", table_name) is None: +def _validate_storage_tablename(table_name): + if _STORAGE_VALID_TABLE.match(table_name) is None: raise ValueError( "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long." ) +def _validate_cosmos_tablename(table_name): + if _COSMOS_VALID_TABLE.match(table_name) is None: + raise ValueError( + "Table names names must contain from 1-255 characters, and they cannot contain /, \\, #, ?, or a trailing space." # pylint: disable=line-too-long + ) + + +def _validate_tablename_error(decoded_error, table_name): + if (decoded_error.error_code == 'InvalidResourceName' and + 'The specifed resource name contains invalid characters' in decoded_error.message): + # This error is raised by Storage for any table/entity operations where the table name contains + # forbidden characters. + _validate_storage_tablename(table_name) + elif (decoded_error.error_code == 'OutOfRangeInput' and + 'The specified resource name length is not within the permissible limits' in decoded_error.message): + # This error is raised by Storage for any table/entity operations where the table name is < 3 or > 63 + # characters long + _validate_storage_tablename(table_name) + elif (decoded_error.error_code == 'InternalServerError' and + ('The resource name presented contains invalid character' in decoded_error.message or + 'The resource name can\'t end with space'in decoded_error.message)): + # This error is raised by Cosmos during create_table if the table name contains forbidden + # characters or ends in a space. + _validate_cosmos_tablename(table_name) + elif (decoded_error.error_code == 'BadRequest' and + 'The input name is invalid.' in decoded_error.message): + # This error is raised by Cosmos specifically during create_table if the table name is 255 or more + # characters. Entity operations on a too-long-table name simply result in a ResourceNotFoundError. + _validate_cosmos_tablename(table_name) + elif (decoded_error.error_code == 'InvalidInput' and + ('Request url is invalid.' in decoded_error.message or + 'One of the input values is invalid.' in decoded_error.message)): + # This error is raised by Cosmos for any entity operations or delete_table if the table name contains + # forbidden characters (except in the case of trailing space and backslash). + _validate_cosmos_tablename(table_name) + elif (decoded_error.error_code == 'Unauthorized' and + ('The input authorization token can\'t serve the request.' in decoded_error.message or + 'The MAC signature found in the HTTP request' in decoded_error.message)): + # This error is raised by Cosmos specifically on entity operations where the table name contains + # some forbidden characters, and seems to be a bug in the service authentication. + _validate_cosmos_tablename(table_name) + + def _decode_error(response, error_message=None, error_type=None, **kwargs): # pylint: disable=too-many-branches error_code = response.headers.get("x-ms-error-code") additional_data = {} @@ -80,14 +135,6 @@ def _decode_error(response, error_message=None, error_type=None, **kwargs): # p error_message = error_body["odata.error"][info]["value"] else: additional_data[info.tag] = info.text - - # Special case: there was a playback error during test execution (test proxy only) - message = error_body.get("Message") - if message and message.startswith("Unable to find a record for the request"): - error = ResourceNotFoundError(message=error_message, response=response) - error.error_code = 404 - error.additional_info = additional_data - return error else: if error_body: for info in error_body.iter(): @@ -156,8 +203,10 @@ def _reraise_error(decoded_error): raise decoded_error -def _process_table_error(storage_error): +def _process_table_error(storage_error, table_name=None): decoded_error = _decode_error(storage_error.response, storage_error.message) + if table_name: + _validate_tablename_error(decoded_error, table_name) _reraise_error(decoded_error) diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py index be2983544a1b..611ae74851bf 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py @@ -21,9 +21,9 @@ from ._entity import TableEntity from ._error import ( _process_table_error, - _validate_table_name, _reraise_error, - _decode_error + _decode_error, + _validate_tablename_error ) from ._generated.models import ( SignedIdentifier, @@ -77,7 +77,6 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential """ if not table_name: raise ValueError("Please specify a table name.") - _validate_table_name(table_name) self.table_name = table_name super(TableClient, self).__init__(endpoint, **kwargs) @@ -182,7 +181,7 @@ def get_table_access_policy( **kwargs ) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) output = {} # type: Dict[str, Optional[TableAccessPolicy]] for identifier in cast(List[SignedIdentifier], identifiers): if identifier.access_policy: @@ -227,7 +226,7 @@ def set_table_access_policy( ) except HttpResponseError as error: try: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) except HttpResponseError as table_error: if (table_error.error_code == 'InvalidXmlDocument' # type: ignore and len(signed_identifiers) > 5): @@ -261,7 +260,7 @@ def create_table( try: result = self._client.table.create(table_properties, **kwargs) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) return TableItem(name=result.table_name) # type: ignore @distributed_trace @@ -290,7 +289,7 @@ def delete_table( except HttpResponseError as error: if error.status_code == 404: return - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) @overload def delete_entity(self, partition_key, row_key, **kwargs): @@ -367,7 +366,7 @@ def delete_entity(self, *args, **kwargs): except HttpResponseError as error: if error.status_code == 404: return - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) @distributed_trace def create_entity( @@ -408,7 +407,8 @@ def create_entity( raise ValueError("PartitionKey must be present in an entity") if entity.get("RowKey") is None: raise ValueError("RowKey must be present in an entity") - _reraise_error(error) + _validate_tablename_error(decoded, self.table_name) + _reraise_error(decoded) return _trim_service_metadata(metadata, content=content) # type: ignore @distributed_trace @@ -483,7 +483,7 @@ def update_entity( else: raise ValueError("Mode type '{}' is not supported.".format(mode)) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) return _trim_service_metadata(metadata, content=content) # type: ignore @distributed_trace @@ -612,7 +612,7 @@ def get_entity( **kwargs ) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) return _convert_to_entity(entity) @distributed_trace @@ -674,7 +674,7 @@ def upsert_entity( ) ) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) return _trim_service_metadata(metadata, content=content) # type: ignore def submit_transaction( @@ -725,4 +725,4 @@ def submit_transaction( "The value of 'operations' must be an iterator " "of Tuples. Please check documentation for correct Tuple format." ) - return self._batch_send(*batched_requests.requests, **kwargs) # type: ignore + return self._batch_send(self.table_name, *batched_requests.requests, **kwargs) # type: ignore diff --git a/sdk/tables/azure-data-tables/azure/data/tables/aio/_base_client_async.py b/sdk/tables/azure-data-tables/azure/data/tables/aio/_base_client_async.py index 51b652d2df9b..df3d2a8e541c 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/aio/_base_client_async.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/aio/_base_client_async.py @@ -30,7 +30,12 @@ from .._base_client import AccountHostsMixin, get_api_version, extract_batch_part_metadata from .._authentication import SharedKeyCredentialPolicy from .._constants import STORAGE_OAUTH_SCOPE -from .._error import RequestTooLargeError, TableTransactionError, _decode_error +from .._error import ( + RequestTooLargeError, + TableTransactionError, + _decode_error, + _validate_tablename_error +) from .._policies import StorageHosts, StorageHeadersPolicy from .._sdk_moniker import SDK_MONIKER from ._policies_async import AsyncTablesRetryPolicy @@ -102,7 +107,7 @@ def _configure_policies(self, **kwargs): HttpLoggingPolicy(**kwargs), ] - async def _batch_send(self, *reqs: "HttpRequest", **kwargs) -> List[Mapping[str, Any]]: + async def _batch_send(self, table_name: str, *reqs: "HttpRequest", **kwargs) -> List[Mapping[str, Any]]: """Given a series of request, do a Storage batch call.""" # Pop it here, so requests doesn't feel bad about additional kwarg policies = [StorageHeadersPolicy()] @@ -137,7 +142,9 @@ async def _batch_send(self, *reqs: "HttpRequest", **kwargs) -> List[Mapping[str, error_message="The transaction request was too large", error_type=RequestTooLargeError) if response.status_code != 202: - raise _decode_error(response) + decoded = _decode_error(response) + _validate_tablename_error(decoded, table_name) + raise decoded parts_iter = response.parts() parts = [] @@ -150,10 +157,12 @@ async def _batch_send(self, *reqs: "HttpRequest", **kwargs) -> List[Mapping[str, response, error_message="The transaction request was too large", error_type=RequestTooLargeError) - raise _decode_error( + decoded = _decode_error( response=error_parts[0], error_type=TableTransactionError, ) + _validate_tablename_error(decoded, table_name) + raise decoded return [extract_batch_part_metadata(p) for p in parts] diff --git a/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py b/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py index 4fb28b070f89..2632b73b4b97 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py @@ -26,9 +26,9 @@ from .._deserialize import deserialize_iso, _return_headers_and_deserialized from .._error import ( _process_table_error, - _validate_table_name, _decode_error, - _reraise_error + _reraise_error, + _validate_tablename_error ) from .._models import UpdateMode from .._deserialize import _convert_to_entity, _trim_service_metadata @@ -75,7 +75,6 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential """ if not table_name: raise ValueError("Please specify a table name.") - _validate_table_name(table_name) self.table_name = table_name super(TableClient, self).__init__(endpoint, credential=credential, **kwargs) @@ -180,7 +179,7 @@ async def get_table_access_policy(self, **kwargs) -> Mapping[str, Optional[Table **kwargs ) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) output = {} # type: Dict[str, Optional[TableAccessPolicy]] for identifier in cast(List[SignedIdentifier], identifiers): if identifier.access_policy: @@ -223,7 +222,7 @@ async def set_table_access_policy( ) except HttpResponseError as error: try: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) except HttpResponseError as table_error: if (table_error.error_code == 'InvalidXmlDocument' # type: ignore and len(identifiers) > 5): @@ -254,7 +253,7 @@ async def create_table(self, **kwargs) -> TableItem: try: result = await self._client.table.create(table_properties, **kwargs) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) return TableItem(name=result.table_name) # type: ignore @distributed_trace_async @@ -280,7 +279,7 @@ async def delete_table(self, **kwargs) -> None: except HttpResponseError as error: if error.status_code == 404: return - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) @overload async def delete_entity(self, partition_key: str, row_key: str, **kwargs: Any) -> None: @@ -354,7 +353,7 @@ async def delete_entity(self, *args: Union[TableEntity, str], **kwargs: Any) -> except HttpResponseError as error: if error.status_code == 404: return - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) @distributed_trace_async async def create_entity( @@ -395,7 +394,8 @@ async def create_entity( raise ValueError("PartitionKey must be present in an entity") if entity.get("RowKey") is None: raise ValueError("RowKey must be present in an entity") - _reraise_error(error) + _validate_tablename_error(decoded, self.table_name) + _reraise_error(decoded) return _trim_service_metadata(metadata, content=content) # type: ignore @@ -471,7 +471,7 @@ async def update_entity( else: raise ValueError("Mode type '{}' is not supported.".format(mode)) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) return _trim_service_metadata(metadata, content=content) # type: ignore @distributed_trace @@ -596,7 +596,7 @@ async def get_entity( ) properties = _convert_to_entity(entity) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) return properties @distributed_trace_async @@ -659,7 +659,7 @@ async def upsert_entity( ) ) except HttpResponseError as error: - _process_table_error(error) + _process_table_error(error, table_name=self.table_name) return _trim_service_metadata(metadata, content=content) # type: ignore @distributed_trace_async @@ -718,4 +718,4 @@ async def submit_transaction( "of Tuples. Please check documentation for correct Tuple format." ) - return await self._batch_send(*batched_requests.requests, **kwargs) + return await self._batch_send(self.table_name, *batched_requests.requests, **kwargs) diff --git a/sdk/tables/azure-data-tables/tests/_shared/testcase.py b/sdk/tables/azure-data-tables/tests/_shared/testcase.py index 5afa95b348ac..e65450ae8cd4 100644 --- a/sdk/tables/azure-data-tables/tests/_shared/testcase.py +++ b/sdk/tables/azure-data-tables/tests/_shared/testcase.py @@ -10,8 +10,9 @@ from dateutil.tz import tzutc import uuid +from azure.core.pipeline.policies import ContentDecodePolicy from azure.core.credentials import AccessToken, AzureNamedKeyCredential -from azure.core.exceptions import ResourceExistsError +from azure.core.exceptions import ResourceExistsError, DecodeError, ResourceNotFoundError from azure.data.tables import ( generate_account_sas, AccountSasPermissions, @@ -22,7 +23,9 @@ TableAnalyticsLogging, TableMetrics, TableServiceClient, + _error ) +from azure.data.tables._error import _decode_error from azure.identity import DefaultAzureCredential from devtools_testutils import is_live @@ -495,4 +498,21 @@ def __init__(self): self.count = 0 def simple_count(self, retry_context): - self.count += 1 \ No newline at end of file + self.count += 1 + + +def _decode_proxy_error(response, error_message=None, error_type=None, **kwargs): # pylint: disable=too-many-branches + try: + error_body = ContentDecodePolicy.deserialize_from_http_generics(response) + if isinstance(error_body, dict): + # Special case: there was a playback error during test execution (test proxy only) + message = error_body.get("Message") + if message and message.startswith("Unable to find a record for the request"): + error = ResourceNotFoundError(message=error_message, response=response) + error.error_code = 'ResourceNotFoundError' + return error + except DecodeError: + pass + return _decode_error(response, error_message, error_type, **kwargs) + +_error._decode_error = _decode_proxy_error diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.pyTestTabletest_create_table_invalid_name.json b/sdk/tables/azure-data-tables/tests/recordings/test_table.pyTestTabletest_create_table_invalid_name.json new file mode 100644 index 000000000000..b1c92a39ec3a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.pyTestTabletest_create_table_invalid_name.json @@ -0,0 +1,50 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "25", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Tue, 08 Mar 2022 10:04:45 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "2e8cc794-9ec7-11ec-ab00-5cf37093a909", + "x-ms-date": "Tue, 08 Mar 2022 10:04:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "my_table" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Tue, 08 Mar 2022 10:04:45 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2e8cc794-9ec7-11ec-ab00-5cf37093a909", + "x-ms-request-id": "641b8807-b002-00e1-0bd3-32c0fb000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:641b8807-b002-00e1-0bd3-32c0fb000000\nTime:2022-03-08T10:04:45.7179133Z" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table.pyTestTabletest_unicode_create_table_unicode_name.json b/sdk/tables/azure-data-tables/tests/recordings/test_table.pyTestTabletest_unicode_create_table_unicode_name.json new file mode 100644 index 000000000000..8cbe0680f03d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table.pyTestTabletest_unicode_create_table_unicode_name.json @@ -0,0 +1,50 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "47", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Tue, 08 Mar 2022 09:38:54 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "91aa5ff4-9ec3-11ec-8c81-5cf37093a909", + "x-ms-date": "Tue, 08 Mar 2022 09:38:54 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\u554A\u9F44\u4E02\u72DB\u72DC" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Tue, 08 Mar 2022 09:38:53 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "91aa5ff4-9ec3-11ec-8c81-5cf37093a909", + "x-ms-request-id": "529f895d-f002-0092-07d0-329868000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:529f895d-f002-0092-07d0-329868000000\nTime:2022-03-08T09:38:54.0905080Z" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.pyTestTableAsynctest_create_table_invalid_name.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.pyTestTableAsynctest_create_table_invalid_name.json new file mode 100644 index 000000000000..3366a0896f7c --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.pyTestTableAsynctest_create_table_invalid_name.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "25", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Tue, 08 Mar 2022 10:05:02 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "387a7789-9ec7-11ec-94c9-5cf37093a909", + "x-ms-date": "Tue, 08 Mar 2022 10:05:02 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "my_table" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Tue, 08 Mar 2022 10:05:01 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "387a7789-9ec7-11ec-94c9-5cf37093a909", + "x-ms-request-id": "42ec2b74-6002-0109-7ad3-32a760000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:42ec2b74-6002-0109-7ad3-32a760000000\nTime:2022-03-08T10:05:02.3739294Z" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_async.pyTestTableAsynctest_unicode_create_table_unicode_name.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.pyTestTableAsynctest_unicode_create_table_unicode_name.json new file mode 100644 index 000000000000..da4f81a4dcd7 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_async.pyTestTableAsynctest_unicode_create_table_unicode_name.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "47", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Tue, 08 Mar 2022 10:04:28 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "242ff79e-9ec7-11ec-b243-5cf37093a909", + "x-ms-date": "Tue, 08 Mar 2022 10:04:28 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\u554A\u9F44\u4E02\u72DB\u72DC" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Tue, 08 Mar 2022 10:04:28 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "242ff79e-9ec7-11ec-b243-5cf37093a909", + "x-ms-request-id": "35d577df-3002-0034-03d3-322f76000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:35d577df-3002-0034-03d3-322f76000000\nTime:2022-03-08T10:04:29.1847519Z" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client.pyTestTableClienttest_table_name_errors.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_client.pyTestTableClienttest_table_name_errors.json new file mode 100644 index 000000000000..d139a8a2a116 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_client.pyTestTableClienttest_table_name_errors.json @@ -0,0 +1,1265 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "23", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9a797345-9f8d-11ec-a856-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "1table" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:04 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9a797345-9f8d-11ec-a856-5cf37093a909", + "x-ms-request-id": "3e6aacda-7002-008b-559a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aacda-7002-008b-559a-33ec3f000000\nTime:2022-03-09T09:45:05.1779051Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/1table", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9a9dad4e-9f8d-11ec-b9c6-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:04 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9a9dad4e-9f8d-11ec-b9c6-5cf37093a909", + "x-ms-request-id": "3e6aace5-7002-008b-5f9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aace5-7002-008b-5f9a-33ec3f000000\nTime:2022-03-09T09:45:05.2108852Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/1table(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9aa08a5d-9f8d-11ec-9d20-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:04 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9aa08a5d-9f8d-11ec-9d20-5cf37093a909", + "x-ms-request-id": "3e6aace7-7002-008b-619a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aace7-7002-008b-619a-33ec3f000000\nTime:2022-03-09T09:45:05.2268751Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/1table(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9aa2fb9f-9f8d-11ec-801c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:04 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9aa2fb9f-9f8d-11ec-801c-5cf37093a909", + "x-ms-request-id": "3e6aaceb-7002-008b-659a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aaceb-7002-008b-659a-33ec3f000000\nTime:2022-03-09T09:45:05.2428662Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/1table?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9aa569c1-9f8d-11ec-a095-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "342", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:45:04 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9aa569c1-9f8d-11ec-a095-5cf37093a909", + "x-ms-error-code": "InvalidResourceName", + "x-ms-request-id": "3e6aaced-7002-008b-679a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EInvalidResourceName\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specifed resource name contains invalid characters.\n", + "RequestId:3e6aaced-7002-008b-679a-33ec3f000000\n", + "Time:2022-03-09T09:45:05.2588570Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "796", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9aaa0668-9f8d-11ec-9f1e-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF8wY2FmMjMyMC02MDUyLTQ4YjEtOTExNy02Yjc4NDFmYzY1MTkNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfZTZkM2MyMWQtMmRkOS00ODE2LWIyZmItZmE0ODU2ZDZhZDYwDQoNCi0tY2hhbmdlc2V0X2U2ZDNjMjFkLTJkZDktNDgxNi1iMmZiLWZhNDg1NmQ2YWQ2MA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC8xdGFibGUoUGFydGl0aW9uS2V5PSdBJyxSb3dLZXk9J0InKSBIVFRQLzEuMQ0KeC1tcy12ZXJzaW9uOiAyMDE5LTAyLTAyDQpEYXRhU2VydmljZVZlcnNpb246IDMuMA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9qc29uDQpBY2NlcHQ6IGFwcGxpY2F0aW9uL2pzb24NCkNvbnRlbnQtTGVuZ3RoOiAxMTINCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0NTowNyBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDU6MDcgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0X2U2ZDNjMjFkLTJkZDktNDgxNi1iMmZiLWZhNDg1NmQ2YWQ2MC0tDQoNCi0tYmF0Y2hfMGNhZjIzMjAtNjA1Mi00OGIxLTkxMTctNmI3ODQxZmM2NTE5LS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9aaa0668-9f8d-11ec-9f1e-5cf37093a909", + "x-ms-request-id":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iYXRjaHJlc3BvbnNlXzgxNTFjZjA5LTM3MDktNGY3Yy1hNDQ1LWYwMjYyNDk1MGQ5Ni0tDQo=" + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ab5092b-9f8d-11ec-98f1-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "aa" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ab5092b-9f8d-11ec-98f1-5cf37093a909", + "x-ms-request-id": "3e6aad1a-7002-008b-109a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aad1a-7002-008b-109a-33ec3f000000\nTime:2022-03-09T09:45:05.3877818Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aa", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9abb9a5d-9f8d-11ec-bff2-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9abb9a5d-9f8d-11ec-bff2-5cf37093a909", + "x-ms-request-id": "3e6aad1c-7002-008b-129a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aad1c-7002-008b-129a-33ec3f000000\nTime:2022-03-09T09:45:05.4047727Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aa(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9abe2ba1-9f8d-11ec-94d7-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9abe2ba1-9f8d-11ec-94d7-5cf37093a909", + "x-ms-request-id": "3e6aad20-7002-008b-169a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aad20-7002-008b-169a-33ec3f000000\nTime:2022-03-09T09:45:05.4207630Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aa(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ac03643-9f8d-11ec-b0e0-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ac03643-9f8d-11ec-b0e0-5cf37093a909", + "x-ms-request-id": "3e6aad22-7002-008b-189a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aad22-7002-008b-189a-33ec3f000000\nTime:2022-03-09T09:45:05.4377530Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aa?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ac329c7-9f8d-11ec-b341-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "355", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9ac329c7-9f8d-11ec-b341-5cf37093a909", + "x-ms-error-code": "OutOfRangeInput", + "x-ms-request-id": "3e6aad29-7002-008b-1f9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EOutOfRangeInput\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specified resource name length is not within the permissible limits.\n", + "RequestId:3e6aad29-7002-008b-1f9a-33ec3f000000\n", + "Time:2022-03-09T09:45:05.4537445Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "792", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ac62698-9f8d-11ec-921e-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF8zMzhiY2ViYS02OTY2LTQxMGYtYTNhYy00ODhlODMwNzlkODINCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfYmMwYmJkMzMtMGJlNi00NDkxLTlhMGUtNDI3NTk1ZmIwMmUwDQoNCi0tY2hhbmdlc2V0X2JjMGJiZDMzLTBiZTYtNDQ5MS05YTBlLTQyNzU5NWZiMDJlMA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC9hYShQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KeC1tcy1kYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ1OjA3IEdNVA0KRGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0NTowNyBHTVQNCg0KeyJQYXJ0aXRpb25LZXkiOiAiQSIsICJQYXJ0aXRpb25LZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIiwgIlJvd0tleSI6ICJCIiwgIlJvd0tleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmcifQ0KLS1jaGFuZ2VzZXRfYmMwYmJkMzMtMGJlNi00NDkxLTlhMGUtNDI3NTk1ZmIwMmUwLS0NCg0KLS1iYXRjaF8zMzhiY2ViYS02OTY2LTQxMGYtYTNhYy00ODhlODMwNzlkODItLQ0K", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ac62698-9f8d-11ec-921e-5cf37093a909", + "x-ms-request-id": "3e6aad39-7002-008b-2f9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2NiZDk5NjI3LTUyMmMtNGIxMi04ZDJlLWFiOTMyNWJjNmJiMg0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlX2Y2YWYwNmYwLWY3NDAtNGRhYi04NzMwLTJlYzEwOWE0ZWVjMQ0KDQotLWNoYW5nZXNldHJlc3BvbnNlX2Y2YWYwNmYwLWY3NDAtNGRhYi04NzMwLTJlYzEwOWE0ZWVjMQ0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KSFRUUC8xLjEgNDAwIEJhZCBSZXF1ZXN0DQpYLUNvbnRlbnQtVHlwZS1PcHRpb25zOiBub3NuaWZmDQpEYXRhU2VydmljZVZlcnNpb246IDMuMDsNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjtvZGF0YT1taW5pbWFsbWV0YWRhdGE7c3RyZWFtaW5nPXRydWU7Y2hhcnNldD11dGYtOA0KDQp7Im9kYXRhLmVycm9yIjp7ImNvZGUiOiJPdXRPZlJhbmdlSW5wdXQiLCJtZXNzYWdlIjp7ImxhbmciOiJlbi1VUyIsInZhbHVlIjoiMDpUaGUgc3BlY2lmaWVkIHJlc291cmNlIG5hbWUgbGVuZ3RoIGlzIG5vdCB3aXRoaW4gdGhlIHBlcm1pc3NpYmxlIGxpbWl0cy5cblJlcXVlc3RJZDozZTZhYWQzOS03MDAyLTAwOGItMmY5YS0zM2VjM2YwMDAwMDBcblRpbWU6MjAyMi0wMy0wOVQwOTo0NTowNS41MjM3MDMwWiJ9fX0NCi0tY2hhbmdlc2V0cmVzcG9uc2VfZjZhZjA2ZjAtZjc0MC00ZGFiLTg3MzAtMmVjMTA5YTRlZWMxLS0NCi0tYmF0Y2hyZXNwb25zZV9jYmQ5OTYyNy01MjJjLTRiMTItOGQyZS1hYjkzMjViYzZiYjItLQ0K" + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "81", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ad07697-9f8d-11ec-961d-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ad07697-9f8d-11ec-961d-5cf37093a909", + "x-ms-request-id": "3e6aad5c-7002-008b-509a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aad5c-7002-008b-509a-33ec3f000000\nTime:2022-03-09T09:45:05.5856678Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ad9b11f-9f8d-11ec-b6a7-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ad9b11f-9f8d-11ec-b6a7-5cf37093a909", + "x-ms-request-id": "3e6aad5f-7002-008b-539a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aad5f-7002-008b-539a-33ec3f000000\nTime:2022-03-09T09:45:05.6016592Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9adc17ec-9f8d-11ec-88a9-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9adc17ec-9f8d-11ec-88a9-5cf37093a909", + "x-ms-request-id": "3e6aad64-7002-008b-589a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aad64-7002-008b-589a-33ec3f000000\nTime:2022-03-09T09:45:05.6176489Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ade8843-9f8d-11ec-b694-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ade8843-9f8d-11ec-b694-5cf37093a909", + "x-ms-request-id": "3e6aad6c-7002-008b-609a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aad6c-7002-008b-609a-33ec3f000000\nTime:2022-03-09T09:45:05.6306412Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ae09576-9f8d-11ec-813a-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "355", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9ae09576-9f8d-11ec-813a-5cf37093a909", + "x-ms-error-code": "OutOfRangeInput", + "x-ms-request-id": "3e6aad74-7002-008b-689a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EOutOfRangeInput\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specified resource name length is not within the permissible limits.\n", + "RequestId:3e6aad74-7002-008b-689a-33ec3f000000\n", + "Time:2022-03-09T09:45:05.6446335Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "854", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:07 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9ae2c17f-9f8d-11ec-b9ca-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:07 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF8zZjc0OTRiYS0zZDgyLTRlNTUtYjY3ZS00MWM0NThiNzhkZWINCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfMDIyZjc2YWQtMGJiNy00ZWRhLWE0MmMtNWNmMDdlODEzNzljDQoNCi0tY2hhbmdlc2V0XzAyMmY3NmFkLTBiYjctNGVkYS1hNDJjLTVjZjA3ZTgxMzc5Yw0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC9hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhKFBhcnRpdGlvbktleT0nQScsUm93S2V5PSdCJykgSFRUUC8xLjENCngtbXMtdmVyc2lvbjogMjAxOS0wMi0wMg0KRGF0YVNlcnZpY2VWZXJzaW9uOiAzLjANCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbg0KQWNjZXB0OiBhcHBsaWNhdGlvbi9qc29uDQpDb250ZW50LUxlbmd0aDogMTEyDQp4LW1zLWRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDU6MDcgR01UDQpEYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ1OjA3IEdNVA0KDQp7IlBhcnRpdGlvbktleSI6ICJBIiwgIlBhcnRpdGlvbktleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmciLCAiUm93S2V5IjogIkIiLCAiUm93S2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyJ9DQotLWNoYW5nZXNldF8wMjJmNzZhZC0wYmI3LTRlZGEtYTQyYy01Y2YwN2U4MTM3OWMtLQ0KDQotLWJhdGNoXzNmNzQ5NGJhLTNkODItNGU1NS1iNjdlLTQxYzQ1OGI3OGRlYi0tDQo=", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ae2c17f-9f8d-11ec-b9ca-5cf37093a909", + "x-ms-request-id": "3e6aad8b-7002-008b-7d9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzE2NzYyYmUxLWUwYTgtNDgzOS04NzRjLWFjOTA3NGMyMjNjMQ0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlX2FkNWRmNDJhLWNmNDItNDBhZi04ZDhjLTllY2FiZTI1YWNkNg0KDQotLWNoYW5nZXNldHJlc3BvbnNlX2FkNWRmNDJhLWNmNDItNDBhZi04ZDhjLTllY2FiZTI1YWNkNg0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KSFRUUC8xLjEgNDAwIEJhZCBSZXF1ZXN0DQpYLUNvbnRlbnQtVHlwZS1PcHRpb25zOiBub3NuaWZmDQpEYXRhU2VydmljZVZlcnNpb246IDMuMDsNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjtvZGF0YT1taW5pbWFsbWV0YWRhdGE7c3RyZWFtaW5nPXRydWU7Y2hhcnNldD11dGYtOA0KDQp7Im9kYXRhLmVycm9yIjp7ImNvZGUiOiJPdXRPZlJhbmdlSW5wdXQiLCJtZXNzYWdlIjp7ImxhbmciOiJlbi1VUyIsInZhbHVlIjoiMDpUaGUgc3BlY2lmaWVkIHJlc291cmNlIG5hbWUgbGVuZ3RoIGlzIG5vdCB3aXRoaW4gdGhlIHBlcm1pc3NpYmxlIGxpbWl0cy5cblJlcXVlc3RJZDozZTZhYWQ4Yi03MDAyLTAwOGItN2Q5YS0zM2VjM2YwMDAwMDBcblRpbWU6MjAyMi0wMy0wOVQwOTo0NTowNS43MTM1OTM5WiJ9fX0NCi0tY2hhbmdlc2V0cmVzcG9uc2VfYWQ1ZGY0MmEtY2Y0Mi00MGFmLThkOGMtOWVjYWJlMjVhY2Q2LS0NCi0tYmF0Y2hyZXNwb25zZV8xNjc2MmJlMS1lMGE4LTQ4MzktODc0Yy1hYzkwNzRjMjIzYzEtLQ0K" + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "20", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9aeda649-9f8d-11ec-808f-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "a//" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9aeda649-9f8d-11ec-808f-5cf37093a909", + "x-ms-request-id": "3e6aad9a-7002-008b-0c9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aad9a-7002-008b-0c9a-33ec3f000000\nTime:2022-03-09T09:45:05.7725597Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/a%2F%2F", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9af64602-9f8d-11ec-9734-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9af64602-9f8d-11ec-9734-5cf37093a909", + "x-ms-request-id": "3e6aada5-7002-008b-179a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aada5-7002-008b-179a-33ec3f000000\nTime:2022-03-09T09:45:05.7885523Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/a%2F%2F(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9af8bad7-9f8d-11ec-8747-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9af8bad7-9f8d-11ec-8747-5cf37093a909", + "x-ms-request-id": "3e6aadac-7002-008b-1e9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aadac-7002-008b-1e9a-33ec3f000000\nTime:2022-03-09T09:45:05.8045413Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/a%2F%2F(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9afb2704-9f8d-11ec-ac6a-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9afb2704-9f8d-11ec-ac6a-5cf37093a909", + "x-ms-request-id": "3e6aadb5-7002-008b-279a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:3e6aadb5-7002-008b-279a-33ec3f000000\nTime:2022-03-09T09:45:05.8205316Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/a%2F%2F?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9afda8d7-9f8d-11ec-bc3e-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "355", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9afda8d7-9f8d-11ec-bc3e-5cf37093a909", + "x-ms-error-code": "OutOfRangeInput", + "x-ms-request-id": "3e6aadba-7002-008b-2c9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EOutOfRangeInput\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specified resource name length is not within the permissible limits.\n", + "RequestId:3e6aadba-7002-008b-2c9a-33ec3f000000\n", + "Time:2022-03-09T09:45:05.8365224Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "797", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9affb9c7-9f8d-11ec-8e09-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF83ODhmZmNjYS1jMzdhLTQ5NjItYmM1Mi00NTE4MTYxZjBkNTcNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfN2M1MTc1MmYtMjY1ZS00Y2JmLWI3OGMtYWRiOWZjZGJiMGEwDQoNCi0tY2hhbmdlc2V0XzdjNTE3NTJmLTI2NWUtNGNiZi1iNzhjLWFkYjlmY2RiYjBhMA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC9hJTJGJTJGKFBhcnRpdGlvbktleT0nQScsUm93S2V5PSdCJykgSFRUUC8xLjENCngtbXMtdmVyc2lvbjogMjAxOS0wMi0wMg0KRGF0YVNlcnZpY2VWZXJzaW9uOiAzLjANCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbg0KQWNjZXB0OiBhcHBsaWNhdGlvbi9qc29uDQpDb250ZW50LUxlbmd0aDogMTEyDQp4LW1zLWRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDU6MDggR01UDQpEYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ1OjA4IEdNVA0KDQp7IlBhcnRpdGlvbktleSI6ICJBIiwgIlBhcnRpdGlvbktleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmciLCAiUm93S2V5IjogIkIiLCAiUm93S2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyJ9DQotLWNoYW5nZXNldF83YzUxNzUyZi0yNjVlLTRjYmYtYjc4Yy1hZGI5ZmNkYmIwYTAtLQ0KDQotLWJhdGNoXzc4OGZmY2NhLWMzN2EtNDk2Mi1iYzUyLTQ1MTgxNjFmMGQ1Ny0tDQo=", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9affb9c7-9f8d-11ec-8e09-5cf37093a909", + "x-ms-request-id": "3e6aadc6-7002-008b-379a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2QyYWNhZDhiLWZhOWEtNDUwYS1hZDYyLTJlNDRmZjk1OTNmYQ0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzhhMDU0YzBjLWZkYjgtNDgxNC1hYTc3LTFiYjdjNDhmNDI2YQ0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzhhMDU0YzBjLWZkYjgtNDgxNC1hYTc3LTFiYjdjNDhmNDI2YQ0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KSFRUUC8xLjEgNDAwIEJhZCBSZXF1ZXN0DQpYLUNvbnRlbnQtVHlwZS1PcHRpb25zOiBub3NuaWZmDQpEYXRhU2VydmljZVZlcnNpb246IDMuMDsNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjtvZGF0YT1taW5pbWFsbWV0YWRhdGE7c3RyZWFtaW5nPXRydWU7Y2hhcnNldD11dGYtOA0KDQp7Im9kYXRhLmVycm9yIjp7ImNvZGUiOiJPdXRPZlJhbmdlSW5wdXQiLCJtZXNzYWdlIjp7ImxhbmciOiJlbi1VUyIsInZhbHVlIjoiMDpUaGUgc3BlY2lmaWVkIHJlc291cmNlIG5hbWUgbGVuZ3RoIGlzIG5vdCB3aXRoaW4gdGhlIHBlcm1pc3NpYmxlIGxpbWl0cy5cblJlcXVlc3RJZDozZTZhYWRjNi03MDAyLTAwOGItMzc5YS0zM2VjM2YwMDAwMDBcblRpbWU6MjAyMi0wMy0wOVQwOTo0NTowNS45MDM0ODM0WiJ9fX0NCi0tY2hhbmdlc2V0cmVzcG9uc2VfOGEwNTRjMGMtZmRiOC00ODE0LWFhNzctMWJiN2M0OGY0MjZhLS0NCi0tYmF0Y2hyZXNwb25zZV9kMmFjYWQ4Yi1mYTlhLTQ1MGEtYWQ2Mi0yZTQ0ZmY5NTkzZmEtLQ0K" + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "25", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9b0a8e0d-9f8d-11ec-8986-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "my_table" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9b0a8e0d-9f8d-11ec-8986-5cf37093a909", + "x-ms-request-id": "3e6aadce-7002-008b-3f9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aadce-7002-008b-3f9a-33ec3f000000\nTime:2022-03-09T09:45:05.9604511Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/my_table", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9b12e524-9f8d-11ec-8981-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9b12e524-9f8d-11ec-8981-5cf37093a909", + "x-ms-request-id": "3e6aadd0-7002-008b-419a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aadd0-7002-008b-419a-33ec3f000000\nTime:2022-03-09T09:45:05.9764418Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/my_table(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9b156239-9f8d-11ec-84f6-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9b156239-9f8d-11ec-84f6-5cf37093a909", + "x-ms-request-id": "3e6aadd3-7002-008b-449a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aadd3-7002-008b-449a-33ec3f000000\nTime:2022-03-09T09:45:05.9924325Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/my_table(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9b17ca29-9f8d-11ec-849b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9b17ca29-9f8d-11ec-849b-5cf37093a909", + "x-ms-request-id": "3e6aaddc-7002-008b-4c9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:3e6aaddc-7002-008b-4c9a-33ec3f000000\nTime:2022-03-09T09:45:06.0084224Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/my_table?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9b1ba302-9f8d-11ec-9464-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "342", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9b1ba302-9f8d-11ec-9464-5cf37093a909", + "x-ms-error-code": "InvalidResourceName", + "x-ms-request-id": "3e6aadf0-7002-008b-5f9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EInvalidResourceName\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specifed resource name contains invalid characters.\n", + "RequestId:3e6aadf0-7002-008b-5f9a-33ec3f000000\n", + "Time:2022-03-09T09:45:06.0414036Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "798", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:45:08 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "9b1fedf1-9f8d-11ec-af83-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:45:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF9mMTliNTkzNy04ZTNmLTRkMWItOGE3ZS04OTJlMzc1ZmQxNjQNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfZWZlNzMwNjgtM2E2ZS00ZGE4LTgwNmQtMjRmZTk5MjIzMTJkDQoNCi0tY2hhbmdlc2V0X2VmZTczMDY4LTNhNmUtNGRhOC04MDZkLTI0ZmU5OTIyMzEyZA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC9teV90YWJsZShQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KeC1tcy1kYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ1OjA4IEdNVA0KRGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0NTowOCBHTVQNCg0KeyJQYXJ0aXRpb25LZXkiOiAiQSIsICJQYXJ0aXRpb25LZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIiwgIlJvd0tleSI6ICJCIiwgIlJvd0tleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmcifQ0KLS1jaGFuZ2VzZXRfZWZlNzMwNjgtM2E2ZS00ZGE4LTgwNmQtMjRmZTk5MjIzMTJkLS0NCg0KLS1iYXRjaF9mMTliNTkzNy04ZTNmLTRkMWItOGE3ZS04OTJlMzc1ZmQxNjQtLQ0K", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:45:05 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9b1fedf1-9f8d-11ec-af83-5cf37093a909", + "x-ms-request-id": "3e6aae0f-7002-008b-7e9a-33ec3f000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzk0NTBkM2VjLWRlYTEtNGQ5MS1hY2FjLTY3NmZiNmUxZWVkZA0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlX2FmNzQ1MWYyLTVmY2ItNGY4Mi1hZWYzLWI4YTU5Mjc0ZmZlZg0KDQotLWNoYW5nZXNldHJlc3BvbnNlX2FmNzQ1MWYyLTVmY2ItNGY4Mi1hZWYzLWI4YTU5Mjc0ZmZlZg0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KSFRUUC8xLjEgNDAwIEJhZCBSZXF1ZXN0DQpYLUNvbnRlbnQtVHlwZS1PcHRpb25zOiBub3NuaWZmDQpEYXRhU2VydmljZVZlcnNpb246IDMuMDsNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjtvZGF0YT1taW5pbWFsbWV0YWRhdGE7c3RyZWFtaW5nPXRydWU7Y2hhcnNldD11dGYtOA0KDQp7Im9kYXRhLmVycm9yIjp7ImNvZGUiOiJJbnZhbGlkUmVzb3VyY2VOYW1lIiwibWVzc2FnZSI6eyJsYW5nIjoiZW4tVVMiLCJ2YWx1ZSI6IjA6VGhlIHNwZWNpZmVkIHJlc291cmNlIG5hbWUgY29udGFpbnMgaW52YWxpZCBjaGFyYWN0ZXJzLlxuUmVxdWVzdElkOjNlNmFhZTBmLTcwMDItMDA4Yi03ZTlhLTMzZWMzZjAwMDAwMFxuVGltZToyMDIyLTAzLTA5VDA5OjQ1OjA2LjEwMzM2ODBaIn19fQ0KLS1jaGFuZ2VzZXRyZXNwb25zZV9hZjc0NTFmMi01ZmNiLTRmODItYWVmMy1iOGE1OTI3NGZmZWYtLQ0KLS1iYXRjaHJlc3BvbnNlXzk0NTBkM2VjLWRlYTEtNGQ5MS1hY2FjLTY3NmZiNmUxZWVkZC0tDQo=" + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client_async.pyTestTableClientAsynctest_table_name_errors.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_async.pyTestTableClientAsynctest_table_name_errors.json new file mode 100644 index 000000000000..312c21e4fe80 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_async.pyTestTableClientAsynctest_table_name_errors.json @@ -0,0 +1,1235 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "23", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd1cb89a-9f8d-11ec-85b3-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "1table" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd1cb89a-9f8d-11ec-85b3-5cf37093a909", + "x-ms-request-id": "08a1eb4e-3002-007e-099a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb4e-3002-007e-099a-337815000000\nTime:2022-03-09T09:46:30.0824766Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/1table", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd38c560-9f8d-11ec-af98-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd38c560-9f8d-11ec-af98-5cf37093a909", + "x-ms-request-id": "08a1eb53-3002-007e-0c9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb53-3002-007e-0c9a-337815000000\nTime:2022-03-09T09:46:30.1124597Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/1table(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd3bb8ea-9f8d-11ec-8052-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd3bb8ea-9f8d-11ec-8052-5cf37093a909", + "x-ms-request-id": "08a1eb54-3002-007e-0d9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb54-3002-007e-0d9a-337815000000\nTime:2022-03-09T09:46:30.1244526Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/1table(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd3d992e-9f8d-11ec-89f9-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd3d992e-9f8d-11ec-89f9-5cf37093a909", + "x-ms-request-id": "08a1eb55-3002-007e-0e9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb55-3002-007e-0e9a-337815000000\nTime:2022-03-09T09:46:30.1374448Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/1table?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd3f80bd-9f8d-11ec-8299-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "342", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "cd3f80bd-9f8d-11ec-8299-5cf37093a909", + "x-ms-error-code": "InvalidResourceName", + "x-ms-request-id": "08a1eb58-3002-007e-109a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EInvalidResourceName\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specifed resource name contains invalid characters.\n", + "RequestId:08a1eb58-3002-007e-109a-337815000000\n", + "Time:2022-03-09T09:46:30.1504374Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "796", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd42ef6f-9f8d-11ec-8e82-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF84MDQ0N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 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd42ef6f-9f8d-11ec-8e82-5cf37093a909", + "x-ms-request-id": "08a1eb60-3002-007e-169a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzlkODE3ZTg0LTk0Y2ItNGZmZi05YjQ5LWNjZDA2ODAzNDJkZA0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzhjZDk2ZjFiLTBkNWEtNDMwNS05OTFhLWQ3ZjdjNmQ3MzU0NA0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzhjZDk2ZjFiLTBkNWEtNDMwNS05OTFhLWQ3ZjdjNmQ3MzU0NA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KSFRUUC8xLjEgNDAwIEJhZCBSZXF1ZXN0DQpYLUNvbnRlbnQtVHlwZS1PcHRpb25zOiBub3NuaWZmDQpEYXRhU2VydmljZVZlcnNpb246IDMuMDsNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjtvZGF0YT1taW5pbWFsbWV0YWRhdGE7c3RyZWFtaW5nPXRydWU7Y2hhcnNldD11dGYtOA0KDQp7Im9kYXRhLmVycm9yIjp7ImNvZGUiOiJJbnZhbGlkUmVzb3VyY2VOYW1lIiwibWVzc2FnZSI6eyJsYW5nIjoiZW4tVVMiLCJ2YWx1ZSI6IjA6VGhlIHNwZWNpZmVkIHJlc291cmNlIG5hbWUgY29udGFpbnMgaW52YWxpZCBjaGFyYWN0ZXJzLlxuUmVxdWVzdElkOjA4YTFlYjYwLTMwMDItMDA3ZS0xNjlhLTMzNzgxNTAwMDAwMFxuVGltZToyMDIyLTAzLTA5VDA5OjQ2OjMwLjIzMjM5MTRaIn19fQ0KLS1jaGFuZ2VzZXRyZXNwb25zZV84Y2Q5NmYxYi0wZDVhLTQzMDUtOTkxYS1kN2Y3YzZkNzM1NDQtLQ0KLS1iYXRjaHJlc3BvbnNlXzlkODE3ZTg0LTk0Y2ItNGZmZi05YjQ5LWNjZDA2ODAzNDJkZC0tDQo=" + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd4e6e0b-9f8d-11ec-b4aa-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "aa" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd4e6e0b-9f8d-11ec-b4aa-5cf37093a909", + "x-ms-request-id": "08a1eb61-3002-007e-179a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb61-3002-007e-179a-337815000000\nTime:2022-03-09T09:46:30.2543782Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aa", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd517347-9f8d-11ec-9e82-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd517347-9f8d-11ec-9e82-5cf37093a909", + "x-ms-request-id": "08a1eb66-3002-007e-1b9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb66-3002-007e-1b9a-337815000000\nTime:2022-03-09T09:46:30.2673705Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aa(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd535942-9f8d-11ec-a2ca-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd535942-9f8d-11ec-a2ca-5cf37093a909", + "x-ms-request-id": "08a1eb6a-3002-007e-1f9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb6a-3002-007e-1f9a-337815000000\nTime:2022-03-09T09:46:30.2793636Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aa(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd554523-9f8d-11ec-aee5-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd554523-9f8d-11ec-aee5-5cf37093a909", + "x-ms-request-id": "08a1eb6b-3002-007e-209a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb6b-3002-007e-209a-337815000000\nTime:2022-03-09T09:46:30.2923569Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aa?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd5728e0-9f8d-11ec-810b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "355", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "cd5728e0-9f8d-11ec-810b-5cf37093a909", + "x-ms-error-code": "OutOfRangeInput", + "x-ms-request-id": "08a1eb6f-3002-007e-229a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EOutOfRangeInput\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specified resource name length is not within the permissible limits.\n", + "RequestId:08a1eb6f-3002-007e-229a-337815000000\n", + "Time:2022-03-09T09:46:30.3043494Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "792", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd59f5eb-9f8d-11ec-a80a-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF9hNzVmNzBiZC1mMzFjLTQ2ZGUtYTMwYi01ZmRkZWFlMWNmYzINCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfNDE5YzAxNWYtMGRhNS00MGFmLTgxNGMtYjAxNTA5MTA1MGQxDQoNCi0tY2hhbmdlc2V0XzQxOWMwMTVmLTBkYTUtNDBhZi04MTRjLWIwMTUwOTEwNTBkMQ0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC9hYShQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KeC1tcy1kYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ2OjMyIEdNVA0KRGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0NjozMiBHTVQNCg0KeyJQYXJ0aXRpb25LZXkiOiAiQSIsICJQYXJ0aXRpb25LZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIiwgIlJvd0tleSI6ICJCIiwgIlJvd0tleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmcifQ0KLS1jaGFuZ2VzZXRfNDE5YzAxNWYtMGRhNS00MGFmLTgxNGMtYjAxNTA5MTA1MGQxLS0NCg0KLS1iYXRjaF9hNzVmNzBiZC1mMzFjLTQ2ZGUtYTMwYi01ZmRkZWFlMWNmYzItLQ0K", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd59f5eb-9f8d-11ec-a80a-5cf37093a909", + "x-ms-request-id": "08a1eb74-3002-007e-269a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2RiY2E2MzhjLWZiMTYtNDc0Yi04ZDI4LTI1OWIwODJmN2U5OA0KQ29udGVudC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"Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "81", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd6392f6-9f8d-11ec-8f84-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd6392f6-9f8d-11ec-8f84-5cf37093a909", + "x-ms-request-id": "08a1eb76-3002-007e-289a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb76-3002-007e-289a-337815000000\nTime:2022-03-09T09:46:30.3922993Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd6683ab-9f8d-11ec-a4ca-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd6683ab-9f8d-11ec-a4ca-5cf37093a909", + "x-ms-request-id": "08a1eb7a-3002-007e-2b9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb7a-3002-007e-2b9a-337815000000\nTime:2022-03-09T09:46:30.4052930Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd684548-9f8d-11ec-9fdd-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd684548-9f8d-11ec-9fdd-5cf37093a909", + "x-ms-request-id": "08a1eb7b-3002-007e-2c9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb7b-3002-007e-2c9a-337815000000\nTime:2022-03-09T09:46:30.4182854Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd6a5063-9f8d-11ec-a58f-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd6a5063-9f8d-11ec-a58f-5cf37093a909", + "x-ms-request-id": "08a1eb80-3002-007e-2f9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb80-3002-007e-2f9a-337815000000\nTime:2022-03-09T09:46:30.4302777Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd6c5868-9f8d-11ec-9867-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "355", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "cd6c5868-9f8d-11ec-9867-5cf37093a909", + "x-ms-error-code": "OutOfRangeInput", + "x-ms-request-id": "08a1eb81-3002-007e-309a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EOutOfRangeInput\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specified resource name length is not within the permissible limits.\n", + "RequestId:08a1eb81-3002-007e-309a-337815000000\n", + "Time:2022-03-09T09:46:30.4432709Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "854", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd6f9007-9f8d-11ec-b508-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF83NjM3YzljYy1jNTdiLTQwNTItOTRkOC1iYTRiM2I3ZGE1MjYNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfYmI2OWZkOWUtNDZlZi00NjM1LWI4ZTUtOTY4NjEyNWRiZDFjDQoNCi0tY2hhbmdlc2V0X2JiNjlmZDllLTQ2ZWYtNDYzNS1iOGU1LTk2ODYxMjVkYmQxYw0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC9hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhKFBhcnRpdGlvbktleT0nQScsUm93S2V5PSdCJykgSFRUUC8xLjENCngtbXMtdmVyc2lvbjogMjAxOS0wMi0wMg0KRGF0YVNlcnZpY2VWZXJzaW9uOiAzLjANCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbg0KQWNjZXB0OiBhcHBsaWNhdGlvbi9qc29uDQpDb250ZW50LUxlbmd0aDogMTEyDQp4LW1zLWRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDY6MzIgR01UDQpEYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ2OjMyIEdNVA0KDQp7IlBhcnRpdGlvbktleSI6ICJBIiwgIlBhcnRpdGlvbktleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmciLCAiUm93S2V5IjogIkIiLCAiUm93S2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyJ9DQotLWNoYW5nZXNldF9iYjY5ZmQ5ZS00NmVmLTQ2MzUtYjhlNS05Njg2MTI1ZGJkMWMtLQ0KDQotLWJhdGNoXzc2MzdjOWNjLWM1N2ItNDA1Mi05NGQ4LWJhNGIzYjdkYTUyNi0tDQo=", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd6f9007-9f8d-11ec-b508-5cf37093a909", + "x-ms-request-id": "08a1eb82-3002-007e-319a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2Q1ZmZmNmMwLWMzZmItNDFiZi05NThjLTU0ZGEzZT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ables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "20", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd71e726-9f8d-11ec-8c32-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "a//" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd71e726-9f8d-11ec-8c32-5cf37093a909", + "x-ms-request-id": "08a1eb83-3002-007e-329a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb83-3002-007e-329a-337815000000\nTime:2022-03-09T09:46:30.4872463Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/a%2F%2F", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd75a421-9f8d-11ec-af4e-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd75a421-9f8d-11ec-af4e-5cf37093a909", + "x-ms-request-id": "08a1eb88-3002-007e-359a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb88-3002-007e-359a-337815000000\nTime:2022-03-09T09:46:30.5042354Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/a%2F%2F(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd7783ed-9f8d-11ec-b758-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd7783ed-9f8d-11ec-b758-5cf37093a909", + "x-ms-request-id": "08a1eb89-3002-007e-369a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb89-3002-007e-369a-337815000000\nTime:2022-03-09T09:46:30.5162287Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/a%2F%2F(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd795d93-9f8d-11ec-964a-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd795d93-9f8d-11ec-964a-5cf37093a909", + "x-ms-request-id": "08a1eb8a-3002-007e-379a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "OutOfRangeInput", + "message": { + "lang": "en-US", + "value": "The specified resource name length is not within the permissible limits.\nRequestId:08a1eb8a-3002-007e-379a-337815000000\nTime:2022-03-09T09:46:30.5302206Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/a%2F%2F?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd7b7939-9f8d-11ec-a10b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "355", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "cd7b7939-9f8d-11ec-a10b-5cf37093a909", + "x-ms-error-code": "OutOfRangeInput", + "x-ms-request-id": "08a1eb8d-3002-007e-3a9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EOutOfRangeInput\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specified resource name length is not within the permissible limits.\n", + "RequestId:08a1eb8d-3002-007e-3a9a-337815000000\n", + "Time:2022-03-09T09:46:30.5412148Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "797", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd7e9a3e-9f8d-11ec-808d-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF8xNDY4ZTE4OS0yODIxLTRlMmUtODk5Ni04MmE2MjA2MTA2ZmUNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfMDczZDUwMjgtNjIxMC00NTUwLTkwNzItNWE5ODg3MTk4Y2NlDQoNCi0tY2hhbmdlc2V0XzA3M2Q1MDI4LTYyMTAtNDU1MC05MDcyLTVhOTg4NzE5OGNjZQ0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC9hJTJGJTJGKFBhcnRpdGlvbktleT0nQScsUm93S2V5PSdCJykgSFRUUC8xLjENCngtbXMtdmVyc2lvbjogMjAxOS0wMi0wMg0KRGF0YVNlcnZpY2VWZXJzaW9uOiAzLjANCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbg0KQWNjZXB0OiBhcHBsaWNhdGlvbi9qc29uDQpDb250ZW50LUxlbmd0aDogMTEyDQp4LW1zLWRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDY6MzIgR01UDQpEYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ2OjMyIEdNVA0KDQp7IlBhcnRpdGlvbktleSI6ICJBIiwgIlBhcnRpdGlvbktleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmciLCAiUm93S2V5IjogIkIiLCAiUm93S2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyJ9DQotLWNoYW5nZXNldF8wNzNkNTAyOC02MjEwLTQ1NTAtOTA3Mi01YTk4ODcxOThjY2UtLQ0KDQotLWJhdGNoXzE0NjhlMTg5LTI4MjEtNGUyZS04OTk2LTgyYTYyMDYxMDZmZS0tDQo=", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd7e9a3e-9f8d-11ec-808d-5cf37093a909", + "x-ms-request-id": "08a1eb92-3002-007e-3f9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzViYWE2NTFlLWM5NzAtNGNlOC1hM2NiLTRiMzMyYTgzNjM3Ng0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzUyOWE0YTkyLWFiMGItNGE0Yi1iZDY0LTI5YWNmNGY2YzhjMw0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzUyOWE0YTkyLWFiMGItNGE0Yi1iZDY0LTI5YWNmNGY2YzhjMw0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KSFRUUC8xLjEgNDAwIEJhZCBSZXF1ZXN0DQpYLUNvbnRlbnQtVHlwZS1PcHRpb25zOiBub3NuaWZmDQpEYXRhU2VydmljZVZlcnNpb246IDMuMDsNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjtvZGF0YT1taW5pbWFsbWV0YWRhdGE7c3RyZWFtaW5nPXRydWU7Y2hhcnNldD11dGYtOA0KDQp7Im9kYXRhLmVycm9yIjp7ImNvZGUiOiJPdXRPZlJhbmdlSW5wdXQiLCJtZXNzYWdlIjp7ImxhbmciOiJlbi1VUyIsInZhbHVlIjoiMDpUaGUgc3BlY2lmaWVkIHJlc291cmNlIG5hbWUgbGVuZ3RoIGlzIG5vdCB3aXRoaW4gdGhlIHBlcm1pc3NpYmxlIGxpbWl0cy5cblJlcXVlc3RJZDowOGExZWI5Mi0zMDAyLTAwN2UtM2Y5YS0zMzc4MTUwMDAwMDBcblRpbWU6MjAyMi0wMy0wOVQwOTo0NjozMC42MTAxNzUzWiJ9fX0NCi0tY2hhbmdlc2V0cmVzcG9uc2VfNTI5YTRhOTItYWIwYi00YTRiLWJkNjQtMjlhY2Y0ZjZjOGMzLS0NCi0tYmF0Y2hyZXNwb25zZV81YmFhNjUxZS1jOTcwLTRjZTgtYTNjYi00YjMzMmE4MzYzNzYtLQ0K" + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "25", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd87e42c-9f8d-11ec-be3d-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "my_table" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd87e42c-9f8d-11ec-be3d-5cf37093a909", + "x-ms-request-id": "08a1eb94-3002-007e-419a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb94-3002-007e-419a-337815000000\nTime:2022-03-09T09:46:30.6301646Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/my_table", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd8ab5ee-9f8d-11ec-9e40-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "bar", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd8ab5ee-9f8d-11ec-9e40-5cf37093a909", + "x-ms-request-id": "08a1eb96-3002-007e-439a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb96-3002-007e-439a-337815000000\nTime:2022-03-09T09:46:30.6421568Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/my_table(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd8ca931-9f8d-11ec-a68b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd8ca931-9f8d-11ec-a68b-5cf37093a909", + "x-ms-request-id": "08a1eb99-3002-007e-459a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb99-3002-007e-459a-337815000000\nTime:2022-03-09T09:46:30.6621460Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/my_table(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd8fce2f-9f8d-11ec-81ea-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd8fce2f-9f8d-11ec-81ea-5cf37093a909", + "x-ms-request-id": "08a1eb9b-3002-007e-479a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidResourceName", + "message": { + "lang": "en-US", + "value": "The specifed resource name contains invalid characters.\nRequestId:08a1eb9b-3002-007e-479a-337815000000\nTime:2022-03-09T09:46:30.6761377Z" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/my_table?comp=acl", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/xml", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd91b177-9f8d-11ec-96a7-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "342", + "Content-Type": "application/xml", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "cd91b177-9f8d-11ec-96a7-5cf37093a909", + "x-ms-error-code": "InvalidResourceName", + "x-ms-request-id": "08a1eb9c-3002-007e-489a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": [ + "\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EInvalidResourceName\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specifed resource name contains invalid characters.\n", + "RequestId:08a1eb9c-3002-007e-489a-337815000000\n", + "Time:2022-03-09T09:46:30.6881305Z\u003C/m:message\u003E\u003C/m:error\u003E" + ] + }, + { + "RequestUri": "https://fakeendpoint.table.core.windows.net/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "798", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:46:32 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "cd94dcc8-9f8d-11ec-91d0-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:46:32 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF85YWE3OGQyZi1mZjIyLTRmZDMtYjE3NC01NjVjYzYxOWFhM2MNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfZGVjYmMyMjAtYjJiYS00ZmFmLTg4Y2QtOWVlOGRlYzRiYWQ0DQoNCi0tY2hhbmdlc2V0X2RlY2JjMjIwLWIyYmEtNGZhZi04OGNkLTllZThkZWM0YmFkNA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUEFUQ0ggaHR0cHM6Ly95YWxsdGJ0ZXN0c3ByaW0udGFibGUuY29yZS53aW5kb3dzLm5ldC9teV90YWJsZShQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KeC1tcy1kYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ2OjMyIEdNVA0KRGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0NjozMiBHTVQNCg0KeyJQYXJ0aXRpb25LZXkiOiAiQSIsICJQYXJ0aXRpb25LZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIiwgIlJvd0tleSI6ICJCIiwgIlJvd0tleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmcifQ0KLS1jaGFuZ2VzZXRfZGVjYmMyMjAtYjJiYS00ZmFmLTg4Y2QtOWVlOGRlYzRiYWQ0LS0NCg0KLS1iYXRjaF85YWE3OGQyZi1mZjIyLTRmZDMtYjE3NC01NjVjYzYxOWFhM2MtLQ0K", + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:46:29 GMT", + "Server": [ + "Windows-Azure-Table/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cd94dcc8-9f8d-11ec-91d0-5cf37093a909", + "x-ms-request-id": "08a1eba0-3002-007e-4c9a-337815000000", + "x-ms-version": "2019-02-02" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2FmYzZhNDE0LTI2YzMtNDU3MC04NTBlLTRmOTMyZjU4MGY3ZQ0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzA3NzZmODI4LWMyYjQtNDViMy1iNzljLWE0M2EwMDgxOTg0Zg0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzA3NzZmODI4LWMyYjQtNDViMy1iNzljLWE0M2EwMDgxOTg0Zg0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCg0KSFRUUC8xLjEgNDAwIEJhZCBSZXF1ZXN0DQpYLUNvbnRlbnQtVHlwZS1PcHRpb25zOiBub3NuaWZmDQpEYXRhU2VydmljZVZlcnNpb246IDMuMDsNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjtvZGF0YT1taW5pbWFsbWV0YWRhdGE7c3RyZWFtaW5nPXRydWU7Y2hhcnNldD11dGYtOA0KDQp7Im9kYXRhLmVycm9yIjp7ImNvZGUiOiJJbnZhbGlkUmVzb3VyY2VOYW1lIiwibWVzc2FnZSI6eyJsYW5nIjoiZW4tVVMiLCJ2YWx1ZSI6IjA6VGhlIHNwZWNpZmVkIHJlc291cmNlIG5hbWUgY29udGFpbnMgaW52YWxpZCBjaGFyYWN0ZXJzLlxuUmVxdWVzdElkOjA4YTFlYmEwLTMwMDItMDA3ZS00YzlhLTMzNzgxNTAwMDAwMFxuVGltZToyMDIyLTAzLTA5VDA5OjQ2OjMwLjc1MDA5NThaIn19fQ0KLS1jaGFuZ2VzZXRyZXNwb25zZV8wNzc2ZjgyOC1jMmI0LTQ1YjMtYjc5Yy1hNDNhMDA4MTk4NGYtLQ0KLS1iYXRjaHJlc3BvbnNlX2FmYzZhNDE0LTI2YzMtNDU3MC04NTBlLTRmOTMyZjU4MGY3ZS0tDQo=" + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.pyTestTableClientCosmostest_table_name_errors_bad_chars.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.pyTestTableClientCosmostest_table_name_errors_bad_chars.json new file mode 100644 index 000000000000..f79da0d6a953 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.pyTestTableClientCosmostest_table_name_errors_bad_chars.json @@ -0,0 +1,1638 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "ef49ef10-9f8d-11ec-b11d-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\\" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:27 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "abffcd1b-f32d-4fbb-9065-d3d90f1bf70a" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027\\\u0027.\nRequestID:abffcd1b-f32d-4fbb-9065-d3d90f1bf70a\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "ef49ef10-9f8d-11ec-b11d-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\\" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:27 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "dbe517a8-dbba-4085-bfba-2036dc82743c" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027\\\u0027.\nRequestID:dbe517a8-dbba-4085-bfba-2036dc82743c\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "ef49ef10-9f8d-11ec-b11d-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\\" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:28 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "dcc1daa6-27ee-4342-a138-172489c36365" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027\\\u0027.\nRequestID:dcc1daa6-27ee-4342-a138-172489c36365\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "ef49ef10-9f8d-11ec-b11d-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\\" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:32 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "4c43f7da-9f95-4754-81d0-6516b4f592f5" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027\\\u0027.\nRequestID:4c43f7da-9f95-4754-81d0-6516b4f592f5\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%5C\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:47:34 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f2886e04-9f8d-11ec-b763-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 405, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:32 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "29321dcc-21b5-4eee-816f-6e7408108194" + }, + "ResponseBody": { + "odata.error": { + "code": "MethodNotAllowed", + "message": { + "lang": "en-us", + "value": "RequestHandler.Delete\r\nActivityId: 1d03f7fc-6361-4b47-9ff4-f109898bf057, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:29321dcc-21b5-4eee-816f-6e7408108194\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%5C", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:35 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f28d2b74-9f8d-11ec-8276-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:35 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:32 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "94ea1175-6c19-4f67-bee5-b289edfe9a65" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:47:32 gmt\n\n\u0027\r\nActivityId: 6d810e24-07e2-4334-b83b-7c73abad9505, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:94ea1175-6c19-4f67-bee5-b289edfe9a65\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%5C(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:35 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "f297f3d6-9f8d-11ec-8e99-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:35 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:47:32 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "8ef7aebb-29f7-41f8-9b57-2c24b5dfa464" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:47:32 gmt\n\n\u0027\r\nActivityId: 1774bf45-4046-4878-9aad-6c71834360a4, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:8ef7aebb-29f7-41f8-9b57-2c24b5dfa464\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%5C(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:35 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f29aef24-9f8d-11ec-8b20-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:35 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:32 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "e09111d0-271d-4475-84ae-6c6a2a845b9f" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:47:32 gmt\n\n\u0027\r\nActivityId: f5e77ff7-f00e-4f1d-96ba-eaa1b224ee2d, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:e09111d0-271d-4475-84ae-6c6a2a845b9f\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "814", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:35 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f29f1220-9f8d-11ec-aa2f-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:35 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF8xYmRhNTY1Yi1jZjdmLTRkNDgtODZmNi1mZjVjMjUyYjNhM2QNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfMzljZDViN2MtMmRhMi00YTU2LTk2YjAtYjk5OTY1ODYyZDU2DQoNCi0tY2hhbmdlc2V0XzM5Y2Q1YjdjLTJkYTItNGE1Ni05NmIwLWI5OTk2NTg2MmQ1Ng0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLyU1QyhQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0NzozNSBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDc6MzUgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0XzM5Y2Q1YjdjLTJkYTItNGE1Ni05NmIwLWI5OTk2NTg2MmQ1Ni0tDQoNCi0tYmF0Y2hfMWJkYTU2NWItY2Y3Zi00ZDQ4LTg2ZjYtZmY1YzI1MmIzYTNkLS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:47:32 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "406b4a49-0001-49f8-8a74-5433f36ae212" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzg2ZWRlYzZhLTFiYjAtNGZhZC1hNjgxLTNjZmQ2MTZlMzk3ZQ0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzMzMTAwODBlLTY2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NDktMDAwMS00OWY4LThhNzQtNTQzM2YzNmFlMjEyXG4ifX19DQotLWNoYW5nZXNldHJlc3BvbnNlXzMzMTAwODBlLTY2MDMtNDRiYy04YTlhLTY4ZTc0YzdhMmZhZS0tCi0tYmF0Y2hyZXNwb25zZV84NmVkZWM2YS0xYmIwLTRmYWQtYTY4MS0zY2ZkNjE2ZTM5N2UtLQ0K" + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:35 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f2a2c64e-9f8d-11ec-8d4c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:35 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "//" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:32 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "f9ec306a-077d-436d-ad7a-50115b426fd1" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027/\u0027.\nRequestID:f9ec306a-077d-436d-ad7a-50115b426fd1\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:35 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f2a2c64e-9f8d-11ec-8d4c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:35 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "//" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:32 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "f1ed04b9-51f1-40ae-b9b7-c9c7da9704d4" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027/\u0027.\nRequestID:f1ed04b9-51f1-40ae-b9b7-c9c7da9704d4\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:35 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f2a2c64e-9f8d-11ec-8d4c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:35 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "//" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:33 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "4df547f0-5256-4a66-8ff6-a7dbb601e2d1" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027/\u0027.\nRequestID:4df547f0-5256-4a66-8ff6-a7dbb601e2d1\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:35 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f2a2c64e-9f8d-11ec-8d4c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:35 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "//" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:37 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "f8aa4b3f-278b-4b45-8004-181e712e0651" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027/\u0027.\nRequestID:f8aa4b3f-278b-4b45-8004-181e712e0651\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%2F%2F\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f59d7baf-9f8d-11ec-bd7a-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:37 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "9211645e-aa47-41fc-8993-2619239563da" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "Request url is invalid.\r\nActivityId: 9211645e-aa47-41fc-8993-2619239563da, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:9211645e-aa47-41fc-8993-2619239563da\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%2F%2F", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f59fe7bd-9f8d-11ec-ac7e-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:37 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "c009e968-4701-4390-91ab-60fb57210c78" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "Request url is invalid.\r\nActivityId: c009e968-4701-4390-91ab-60fb57210c78, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:c009e968-4701-4390-91ab-60fb57210c78\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%2F%2F(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "f5a353a6-9f8d-11ec-b1f3-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:37 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "590f521e-9252-46a0-a16d-58cf962c5309" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "One of the input values is invalid.\r\nActivityId: 590f521e-9252-46a0-a16d-58cf962c5309, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:590f521e-9252-46a0-a16d-58cf962c5309\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%2F%2F(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f5a5b0bd-9f8d-11ec-947b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:37 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "efa183aa-9623-45d1-a2c0-550ff72d07e7" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "One of the input values is invalid.\r\nActivityId: efa183aa-9623-45d1-a2c0-550ff72d07e7, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:efa183aa-9623-45d1-a2c0-550ff72d07e7\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "817", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f5a83bed-9f8d-11ec-ba6b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF8zNDlmOWQ5NC00NmIzLTQzNDYtOGUxZS0yYjg2OWNiY2QyNDYNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfMjMzYmE4MGItMDk3ZC00MDM1LTg3YmEtNjg1OTliNTk1NGZiDQoNCi0tY2hhbmdlc2V0XzIzM2JhODBiLTA5N2QtNDAzNS04N2JhLTY4NTk5YjU5NTRmYg0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLyUyRiUyRihQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0Nzo0MCBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDc6NDAgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0XzIzM2JhODBiLTA5N2QtNDAzNS04N2JhLTY4NTk5YjU5NTRmYi0tDQoNCi0tYmF0Y2hfMzQ5ZjlkOTQtNDZiMy00MzQ2LThlMWUtMmI4NjljYmNkMjQ2LS0NCg==", + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:37 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "e0269eff-38c8-4c2d-925d-639b82b65496" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "One of the input values is invalid.\r\nActivityId: e0269eff-38c8-4c2d-925d-639b82b65496, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:e0269eff-38c8-4c2d-925d-639b82b65496\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f5b17b59-9f8d-11ec-820c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "#" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:37 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "62642b0f-36ec-4b70-9b85-681f1b0384ce" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027#\u0027.\nRequestID:62642b0f-36ec-4b70-9b85-681f1b0384ce\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f5b17b59-9f8d-11ec-820c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "#" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:37 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "2f80d52a-4edd-4b4c-9d7d-9dafb59d8e0f" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027#\u0027.\nRequestID:2f80d52a-4edd-4b4c-9d7d-9dafb59d8e0f\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f5b17b59-9f8d-11ec-820c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "#" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:39 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "521eb35f-7793-4156-8e12-24ac3ad690f3" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027#\u0027.\nRequestID:521eb35f-7793-4156-8e12-24ac3ad690f3\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:40 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f5b17b59-9f8d-11ec-820c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:40 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "#" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:42 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "89115957-567a-42c6-a509-6b1e77a4664c" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027#\u0027.\nRequestID:89115957-567a-42c6-a509-6b1e77a4664c\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%23\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f8b25ff0-9f8d-11ec-a8ca-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 405, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:42 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "65a5bac4-353a-4707-8cd4-c94e658da52b" + }, + "ResponseBody": { + "odata.error": { + "code": "MethodNotAllowed", + "message": { + "lang": "en-us", + "value": "RequestHandler.Delete\r\nActivityId: 7e77c74d-31e1-4f19-b1e7-f9b08deab73a, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:65a5bac4-353a-4707-8cd4-c94e658da52b\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%23", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f8b5626f-9f8d-11ec-85fc-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:42 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "a0d0d4bc-60d2-4625-a19e-b049349e779f" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:47:43 gmt\n\n\u0027\r\nActivityId: a112e6c8-0e2c-4bf5-8c3d-ba318155059f, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:a0d0d4bc-60d2-4625-a19e-b049349e779f\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%23(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "f8b85dda-9f8d-11ec-9b33-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:47:42 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "43f4b055-eb4f-4a05-83fd-0fcaed86a422" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:47:43 gmt\n\n\u0027\r\nActivityId: 9aa6676c-fb06-413d-9ec5-3dc1645ab111, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:43f4b055-eb4f-4a05-83fd-0fcaed86a422\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%23(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f8bba399-9f8d-11ec-aba5-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:42 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "9c267deb-7d5a-4fa8-9191-5bc53fb456b4" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:47:43 gmt\n\n\u0027\r\nActivityId: 064f1e4b-887f-45b0-a297-7d255889bed4, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:9c267deb-7d5a-4fa8-9191-5bc53fb456b4\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "814", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f8bebf3b-9f8d-11ec-94a8-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF9mYmM4OTRiYS1kMmM3LTRjZjAtYTQ4Zi1jYWY5MjcxYTdhMjUNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfYmQ2YjU5NTAtMjY0Zi00YmY5LTk1MzItMTIwZjM2MDYxYzIzDQoNCi0tY2hhbmdlc2V0X2JkNmI1OTUwLTI2NGYtNGJmOS05NTMyLTEyMGYzNjA2MWMyMw0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLyUyMyhQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0Nzo0NSBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDc6NDUgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0X2JkNmI1OTUwLTI2NGYtNGJmOS05NTMyLTEyMGYzNjA2MWMyMy0tDQoNCi0tYmF0Y2hfZmJjODk0YmEtZDJjNy00Y2YwLWE0OGYtY2FmOTI3MWE3YTI1LS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:47:42 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "d3164035-4674-4053-bacd-a8800dbfaab1" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2FlZTQ3MGRkLWM3YTYtNDFmOC05YzhhLWI2ZmIxYjUyY2FhMQ0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlX2RmN2JiMjljLWE2Y2UtNDYxNy04MzZiLWIwMDg3ZWZhYzJmZg0KDQotLWNoYW5nZXNldHJlc3BvbnNlX2RmN2JiMjljLWE2Y2UtNDYxNy04MzZiLWIwMDg3ZWZhYzJmZgpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2h0dHAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5CgpIVFRQLzEuMSA0MDEgVW5hdXRob3JpemVkDQpDb250ZW50LVR5cGU6I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", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f8c95200-9f8d-11ec-8869-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "?" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:42 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "3acb838b-ba3c-42b6-9734-1deaefcd1cd5" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027?\u0027.\nRequestID:3acb838b-ba3c-42b6-9734-1deaefcd1cd5\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f8c95200-9f8d-11ec-8869-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "?" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:42 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "c7312cfc-917b-4464-aab7-38f463bdf20c" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027?\u0027.\nRequestID:c7312cfc-917b-4464-aab7-38f463bdf20c\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f8c95200-9f8d-11ec-8869-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "?" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:44 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "94bd7ee1-eb40-4717-998e-28ee74ef5650" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027?\u0027.\nRequestID:94bd7ee1-eb40-4717-998e-28ee74ef5650\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:45 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f8c95200-9f8d-11ec-8869-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:45 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "?" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:47 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "b21eaee4-765a-4ab4-b108-d325c87e387d" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027?\u0027.\nRequestID:b21eaee4-765a-4ab4-b108-d325c87e387d\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%3F\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fbcc34ed-9f8d-11ec-a298-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 405, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:47 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "0d7ff2fe-ff2d-4de4-a225-7cb87c303952" + }, + "ResponseBody": { + "odata.error": { + "code": "MethodNotAllowed", + "message": { + "lang": "en-us", + "value": "RequestHandler.Delete\r\nActivityId: c6f3026a-2265-415d-bc4b-84e82e207bf4, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:0d7ff2fe-ff2d-4de4-a225-7cb87c303952\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%3F", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fbcf4cdc-9f8d-11ec-9089-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:47 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "8a11f554-4ad7-452b-a44e-4ee424b8a09f" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "Message: {\u0022Errors\u0022:[\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:47:48 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022,\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:47:48 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022]}\r\nActivityId: c5cdf5ab-ff28-4355-9045-2a7e311187f7, Request URI: /apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, RequestStats: \r\nRequestStartTime: 2022-03-09T09:47:48.2692100Z, RequestEndTime: 2022-03-09T09:47:48.2692100Z, Number of regions attempted:1\r\n{\u0022systemHistory\u0022:[{\u0022dateUtc\u0022:\u00222022-03-09T09:46:57.7485432Z\u0022,\u0022cpu\u0022:0.729,\u0022memory\u0022:482621584.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0144,\u0022availableThreads\u0022:32763,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:07.7586314Z\u0022,\u0022cpu\u0022:1.051,\u0022memory\u0022:482290572.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0197,\u0022availableThreads\u0022:32764,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:17.7688218Z\u0022,\u0022cpu\u0022:0.789,\u0022memory\u0022:482079576.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0117,\u0022availableThreads\u0022:32764,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:27.7789754Z\u0022,\u0022cpu\u0022:1.290,\u0022memory\u0022:481659216.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0244,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:37.7890491Z\u0022,\u0022cpu\u0022:2.598,\u0022memory\u0022:483462724.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0096,\u0022availableThreads\u0022:32754,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:47.7992087Z\u0022,\u0022cpu\u0022:1.881,\u0022memory\u0022:483270768.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.014,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}}]}\r\nRequestStart: 2022-03-09T09:47:48.2692100Z; ResponseTime: 2022-03-09T09:47:48.2692100Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.23:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.269, ActivityId: c5cdf5ab-ff28-4355-9045-2a7e311187f7, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2692100Z\u0022, \u0022durationInMs\u0022: 0.0072},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2692172Z\u0022, \u0022durationInMs\u0022: 0.0016},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2692188Z\u0022, \u0022durationInMs\u0022: 0.1533},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2693721Z\u0022, \u0022durationInMs\u0022: 0.7723},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2701444Z\u0022, \u0022durationInMs\u0022: 0.1247},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2702691Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:477,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\nRequestStart: 2022-03-09T09:47:48.2692100Z; ResponseTime: 2022-03-09T09:47:48.2692100Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.24:11000/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876929s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.314, ActivityId: c5cdf5ab-ff28-4355-9045-2a7e311187f7, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2692100Z\u0022, \u0022durationInMs\u0022: 0.005},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2692150Z\u0022, \u0022durationInMs\u0022: 0.0018},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2692168Z\u0022, \u0022durationInMs\u0022: 0.0681},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2692849Z\u0022, \u0022durationInMs\u0022: 0.8327},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2701176Z\u0022, \u0022durationInMs\u0022: 0.0558},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.2701734Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:477,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\n, SDK: Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:8a11f554-4ad7-452b-a44e-4ee424b8a09f\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%3F(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "fbd38930-9f8d-11ec-84c6-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:47:47 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "3b5768d9-b8e8-44fb-a49c-89816f98da36" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "Message: {\u0022Errors\u0022:[\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:47:48 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022,\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:47:48 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022]}\r\nActivityId: b4adb1d9-d5ce-48a3-85e4-af05eeaeb257, Request URI: /apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, RequestStats: \r\nRequestStartTime: 2022-03-09T09:47:48.3492183Z, RequestEndTime: 2022-03-09T09:47:48.3492183Z, Number of regions attempted:1\r\n{\u0022systemHistory\u0022:[{\u0022dateUtc\u0022:\u00222022-03-09T09:46:57.7485432Z\u0022,\u0022cpu\u0022:0.729,\u0022memory\u0022:482621584.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0144,\u0022availableThreads\u0022:32763,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:07.7586314Z\u0022,\u0022cpu\u0022:1.051,\u0022memory\u0022:482290572.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0197,\u0022availableThreads\u0022:32764,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:17.7688218Z\u0022,\u0022cpu\u0022:0.789,\u0022memory\u0022:482079576.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0117,\u0022availableThreads\u0022:32764,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:27.7789754Z\u0022,\u0022cpu\u0022:1.290,\u0022memory\u0022:481659216.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0244,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:37.7890491Z\u0022,\u0022cpu\u0022:2.598,\u0022memory\u0022:483462724.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0096,\u0022availableThreads\u0022:32754,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:47.7992087Z\u0022,\u0022cpu\u0022:1.881,\u0022memory\u0022:483270768.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.014,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}}]}\r\nRequestStart: 2022-03-09T09:47:48.3492183Z; ResponseTime: 2022-03-09T09:47:48.3492183Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.23:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.258, ActivityId: b4adb1d9-d5ce-48a3-85e4-af05eeaeb257, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3492183Z\u0022, \u0022durationInMs\u0022: 0.0088},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3492271Z\u0022, \u0022durationInMs\u0022: 0.0025},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3492296Z\u0022, \u0022durationInMs\u0022: 0.1963},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3494259Z\u0022, \u0022durationInMs\u0022: 0.6358},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3500617Z\u0022, \u0022durationInMs\u0022: 0.0757},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3501374Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:477,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\nRequestStart: 2022-03-09T09:47:48.3492183Z; ResponseTime: 2022-03-09T09:47:48.3492183Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.28:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336015624328s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.321, ActivityId: b4adb1d9-d5ce-48a3-85e4-af05eeaeb257, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3492183Z\u0022, \u0022durationInMs\u0022: 0.0066},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3492249Z\u0022, \u0022durationInMs\u0022: 0.0019},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3492268Z\u0022, \u0022durationInMs\u0022: 0.0857},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3493125Z\u0022, \u0022durationInMs\u0022: 0.647},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3499595Z\u0022, \u0022durationInMs\u0022: 0.0448},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3500043Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:477,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\n, SDK: Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:3b5768d9-b8e8-44fb-a49c-89816f98da36\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%3F(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fbe0a2c4-9f8d-11ec-8083-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:47 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "15a52dac-73f4-4004-ad6b-2ffa5efc42e8" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "Message: {\u0022Errors\u0022:[\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:47:48 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022,\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:47:48 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022]}\r\nActivityId: f550e0d5-2bd7-496f-91c6-3782d473f968, Request URI: /apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, RequestStats: \r\nRequestStartTime: 2022-03-09T09:47:48.3892201Z, RequestEndTime: 2022-03-09T09:47:48.3892201Z, Number of regions attempted:1\r\n{\u0022systemHistory\u0022:[{\u0022dateUtc\u0022:\u00222022-03-09T09:46:57.7485432Z\u0022,\u0022cpu\u0022:0.729,\u0022memory\u0022:482621584.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0144,\u0022availableThreads\u0022:32763,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:07.7586314Z\u0022,\u0022cpu\u0022:1.051,\u0022memory\u0022:482290572.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0197,\u0022availableThreads\u0022:32764,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:17.7688218Z\u0022,\u0022cpu\u0022:0.789,\u0022memory\u0022:482079576.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0117,\u0022availableThreads\u0022:32764,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:27.7789754Z\u0022,\u0022cpu\u0022:1.290,\u0022memory\u0022:481659216.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0244,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:37.7890491Z\u0022,\u0022cpu\u0022:2.598,\u0022memory\u0022:483462724.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0096,\u0022availableThreads\u0022:32754,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:47.7992087Z\u0022,\u0022cpu\u0022:1.881,\u0022memory\u0022:483270768.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.014,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}}]}\r\nRequestStart: 2022-03-09T09:47:48.3892201Z; ResponseTime: 2022-03-09T09:47:48.3892201Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.23:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.25, ActivityId: f550e0d5-2bd7-496f-91c6-3782d473f968, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3892201Z\u0022, \u0022durationInMs\u0022: 0.0099},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3892300Z\u0022, \u0022durationInMs\u0022: 0.0023},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3892323Z\u0022, \u0022durationInMs\u0022: 0.1091},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3893414Z\u0022, \u0022durationInMs\u0022: 0.6234},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3899648Z\u0022, \u0022durationInMs\u0022: 0.0873},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3900521Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:477,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\nRequestStart: 2022-03-09T09:47:48.3892201Z; ResponseTime: 2022-03-09T09:47:48.3892201Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.28:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336015624328s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.632, ActivityId: f550e0d5-2bd7-496f-91c6-3782d473f968, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3892201Z\u0022, \u0022durationInMs\u0022: 0.0051},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3892252Z\u0022, \u0022durationInMs\u0022: 0.0013},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3892265Z\u0022, \u0022durationInMs\u0022: 0.0766},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3893031Z\u0022, \u0022durationInMs\u0022: 1.2787},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3905818Z\u0022, \u0022durationInMs\u0022: 0.0312},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:47:48.3906130Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:477,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\n, SDK: Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:15a52dac-73f4-4004-ad6b-2ffa5efc42e8\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "814", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fbe6a316-9f8d-11ec-92af-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF9kZmM1NTZhMC1kOGQ5LTQyNTQtOGI2OC03ZWVjZDJjYzE2Y2UNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfYWQ1ZmRlM2UtZjY5Yy00YzVlLTkwYmMtZDI5MjY2NjQyYmJmDQoNCi0tY2hhbmdlc2V0X2FkNWZkZTNlLWY2OWMtNGM1ZS05MGJjLWQyOTI2NjY0MmJiZg0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLyUzRihQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0Nzo1MCBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDc6NTAgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0X2FkNWZkZTNlLWY2OWMtNGM1ZS05MGJjLWQyOTI2NjY0MmJiZi0tDQoNCi0tYmF0Y2hfZGZjNTU2YTAtZDhkOS00MjU0LThiNjgtN2VlY2QyY2MxNmNlLS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:47:47 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "cc256ea1-3b87-4814-93c3-8fd295c2b4f9" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2IxY2NkOWJiLWRkN2MtNDkwMy1iNjUxLWNmNTc3MDBiYWY1NA0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzc0YTNlYzEwLTEwMGEtNDVlNy1iODVkLTg0YTY1YjlkODJhOA0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzc0YTNlYzEwLTEwMGEtNDVlNy1iODVkLTg0YTY1YjlkODJhOApDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2h0dHAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5CgpIVFRQLzEuMSA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d3NOVC8xMC4wLjE5MDQxLjBcblJlcXVlc3RJRDpjYzI1NmVhMS0zYjg3LTQ4MTQtOTNjMy04ZmQyOTVjMmI0ZjlcbiJ9fX0NCi0tY2hhbmdlc2V0cmVzcG9uc2VfNzRhM2VjMTAtMTAwYS00NWU3LWI4NWQtODRhNjViOWQ4MmE4LS0KLS1iYXRjaHJlc3BvbnNlX2IxY2NkOWJiLWRkN2MtNDkwMy1iNjUxLWNmNTc3MDBiYWY1NC0tDQo=" + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fbea183c-9f8d-11ec-b5ec-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "- " + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:47 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "519f4745-9a69-47d7-9af3-e0ec0c74ab87" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name can\u0027t end with space.\nRequestID:519f4745-9a69-47d7-9af3-e0ec0c74ab87\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fbea183c-9f8d-11ec-b5ec-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "- " + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:47 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "34ddeb0c-d06e-4298-97c3-4bc3c7b3da7e" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name can\u0027t end with space.\nRequestID:34ddeb0c-d06e-4298-97c3-4bc3c7b3da7e\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fbea183c-9f8d-11ec-b5ec-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "- " + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:49 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "4838198b-e34a-4134-8a38-4c33a749ea34" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name can\u0027t end with space.\nRequestID:4838198b-e34a-4134-8a38-4c33a749ea34\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:50 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fbea183c-9f8d-11ec-b5ec-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "- " + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:52 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "9fe402e6-209e-4cb3-bf22-a3d550b3c908" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name can\u0027t end with space.\nRequestID:9fe402e6-209e-4cb3-bf22-a3d550b3c908\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027-%20\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:47:55 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fee7f853-9f8d-11ec-92ca-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:55 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:52 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "abbaf1fc-0f33-4171-a390-8e6fa1effe40" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027delete\ncolls\ndbs/TablesDB/colls/-\nwed, 09 mar 2022 09:47:53 gmt\n\n\u0027\r\nActivityId: 0501c47d-5da8-42bc-9608-594378309ce1, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:abbaf1fc-0f33-4171-a390-8e6fa1effe40\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/-%20", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:55 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "feebd5d5-9f8d-11ec-ba2a-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:55 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:47:52 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "6d6092ee-9d59-41d3-aa50-f72a04ab07b6" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB/colls/-\nwed, 09 mar 2022 09:47:53 gmt\n\n\u0027\r\nActivityId: 88b5715c-a97e-4845-a9d6-af52b51682e6, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:6d6092ee-9d59-41d3-aa50-f72a04ab07b6\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/-%20(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:55 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "fef0bcd2-9f8d-11ec-a523-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:55 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:47:52 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "c7453d5d-fcd3-4a09-a9fa-13cc99c2a243" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB/colls/-\nwed, 09 mar 2022 09:47:53 gmt\n\n\u0027\r\nActivityId: 8b463a6f-a3d0-4f8f-a264-d2d9d1f76f1e, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:c7453d5d-fcd3-4a09-a9fa-13cc99c2a243\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/-%20(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:55 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "fefc908e-9f8d-11ec-8924-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:55 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:47:52 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "e7276753-c834-49d3-9114-3c4ff684fab6" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB/colls/-\nwed, 09 mar 2022 09:47:53 gmt\n\n\u0027\r\nActivityId: eab11d97-0a28-4128-bb97-214e53af8bdd, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:e7276753-c834-49d3-9114-3c4ff684fab6\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "815", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:47:55 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "feff4fe8-9f8d-11ec-8e1c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:47:55 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF8yZWQzZjU0Yy05OTkzLTQwMWQtYTFlMi02NzU2NmE2Zjk3YjgNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfYTIyOGEzM2YtMmVmNy00NGEyLWExOGMtNDEyMzAyY2E2NDI0DQoNCi0tY2hhbmdlc2V0X2EyMjhhMzNmLTJlZjctNDRhMi1hMThjLTQxMjMwMmNhNjQyNA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLy0lMjAoUGFydGl0aW9uS2V5PSdBJyxSb3dLZXk9J0InKSBIVFRQLzEuMQ0KeC1tcy12ZXJzaW9uOiAyMDE5LTAyLTAyDQpEYXRhU2VydmljZVZlcnNpb246IDMuMA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9qc29uDQpBY2NlcHQ6IGFwcGxpY2F0aW9uL2pzb24NCkNvbnRlbnQtTGVuZ3RoOiAxMTINClgtSFRUUC1NZXRob2Q6IE1FUkdFDQp4LW1zLWRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDc6NTUgR01UDQpEYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ3OjU1IEdNVA0KDQp7IlBhcnRpdGlvbktleSI6ICJBIiwgIlBhcnRpdGlvbktleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmciLCAiUm93S2V5IjogIkIiLCAiUm93S2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyJ9DQotLWNoYW5nZXNldF9hMjI4YTMzZi0yZWY3LTQ0YTItYTE4Yy00MTIzMDJjYTY0MjQtLQ0KDQotLWJhdGNoXzJlZDNmNTRjLTk5OTMtNDAxZC1hMWUyLTY3NTY2YTZmOTdiOC0tDQo=", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:47:52 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "d8c4e1af-6e3f-4f5c-81b3-862e4f759cf6" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzMyZDYxZGM2LTRjZDQtNGJiOS1hNGI3LWZkOWVkMTJmYjBhZQ0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzBkYzg2YTZiLTBmZDEtNDc1Ny1iYzkyLTQ2N2FjZjM1NGJiYw0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzBkYzg2YTZiLTBmZDEtNDc1Ny1iYzkyLTQ2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00NzU3LWJjOTItNDY3YWNmMzU0YmJjLS0KLS1iYXRjaHJlc3BvbnNlXzMyZDYxZGM2LTRjZDQtNGJiOS1hNGI3LWZkOWVkMTJmYjBhZS0tDQo=" + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.pyTestTableClientCosmostest_table_name_errors_bad_length.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.pyTestTableClientCosmostest_table_name_errors_bad_length.json new file mode 100644 index 000000000000..00c255486e2c --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos.pyTestTableClientCosmostest_table_name_errors_bad_length.json @@ -0,0 +1,151 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "272", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:49:18 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "2fef9e94-9f8e-11ec-b8be-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:49:18 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:49:15 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "c0187804-efbf-4be0-95ae-d3180165804d" + }, + "ResponseBody": { + "odata.error": { + "code": "BadRequest", + "message": { + "lang": "en-us", + "value": "Message: {\u0022Errors\u0022:[\u0022The input name is invalid. Ensure to provide a unique non-empty string less than \u0027255\u0027 characters.\u0022,\u0022The request payload is invalid. Ensure to provide a valid request payload.\u0022]}\r\nActivityId: 41a9aecc-cdbf-4942-a11a-511a8365d44f, Request URI: /apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876927p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:c0187804-efbf-4be0-95ae-d3180165804d\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:49:18 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "3037ae72-9f8e-11ec-836b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:49:18 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 404, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:49:15 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "cb3df93c-6a6e-43ad-89ac-68194f4ba159" + }, + "ResponseBody": { + "odata.error": { + "code": "ResourceNotFound", + "message": { + "lang": "en-us", + "value": "The specified resource does not exist.\nRequestID:cb3df93c-6a6e-43ad-89ac-68194f4ba159\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:49:18 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "303dd2f5-9f8e-11ec-acc4-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:49:18 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 404, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:49:15 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "f71ab6ce-0637-47a9-8238-f03e5c7a737c" + }, + "ResponseBody": { + "odata.error": { + "code": "ResourceNotFound", + "message": { + "lang": "en-us", + "value": "The specified resource does not exist.\nRequestID:f71ab6ce-0637-47a9-8238-f03e5c7a737c\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "1066", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:49:18 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.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wcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0OToxOCBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDk6MTggR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0XzJmODI1NmE3LTBiZGQtNGNmOC04ZTBhLWNlNjYyOGQxN2Q5OC0tDQoNCi0tYmF0Y2hfZmMwNDY4NTAtMmM0MC00ZDBlLWJkODAtYTliZTFkYmQzODY3LS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:49:15 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "f02141b9-dd67-460f-828d-ebfad7e451b0" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzE1ZTU3NTZiLTAwOWUtNDQ5Mi04MDJjLTBmZDE4MGRhYjQ3OA0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzY4MGJmZGVmLTRlODQtNDM0NC1hODNkLWNlODJmZjFlNTkxZQ0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzY4MGJmZGVmLTRlODQtNDM0NC1hODNkLWNlODJmZjFlNTkxZQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2h0dHAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5CgpIVFRQLzEuMSA0MDQgTm90IEZvdW5kDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb247b2RhdGE9ZnVsbG1ldGFkYXRhDQoNCnsib2RhdGEuZXJyb3IiOnsiY29kZSI6IlJlc291cmNlTm90Rm91bmQiLCJtZXNzYWdlIjp7ImxhbmciOiJlbi11cyIsInZhbHVlIjoiVGhlIHNwZWNpZmllZCByZXNvdXJjZSBkb2VzIG5vdCBleGlzdC5cblJlcXVlc3RJRDpmMDIxNDFiOS1kZDY3LTQ2MGYtODI4ZC1lYmZhZDdlNDUxYjBcbiJ9fX0NCi0tY2hhbmdlc2V0cmVzcG9uc2VfNjgwYmZkZWYtNGU4NC00MzQ0LWE4M2QtY2U4MmZmMWU1OTFlLS0KLS1iYXRjaHJlc3BvbnNlXzE1ZTU3NTZiLTAwOWUtNDQ5Mi04MDJjLTBmZDE4MGRhYjQ3OC0tDQo=" + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos_async.pyTestTableClientCosmosAsynctest_table_name_errors_bad_chars.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos_async.pyTestTableClientCosmosAsynctest_table_name_errors_bad_chars.json new file mode 100644 index 000000000000..98af0a1e06c9 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos_async.pyTestTableClientCosmosAsynctest_table_name_errors_bad_chars.json @@ -0,0 +1,1593 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:13 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "099de829-9f8e-11ec-800b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:13 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\\" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:11 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "57194694-e8d5-42f2-9eae-12ee3f7a75a0" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027\\\u0027.\nRequestID:57194694-e8d5-42f2-9eae-12ee3f7a75a0\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:13 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "099de829-9f8e-11ec-800b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:13 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\\" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:11 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "4468a595-c84e-458f-9ddc-6a28aaa643b0" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027\\\u0027.\nRequestID:4468a595-c84e-458f-9ddc-6a28aaa643b0\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:13 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "099de829-9f8e-11ec-800b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:13 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\\" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:13 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "573a9096-ba0d-40d6-aee4-5b9ae08d0f25" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027\\\u0027.\nRequestID:573a9096-ba0d-40d6-aee4-5b9ae08d0f25\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:13 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "099de829-9f8e-11ec-800b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:13 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\\" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:16 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "c6ac206f-ea25-48b4-afe5-4437e320d560" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027\\\u0027.\nRequestID:c6ac206f-ea25-48b4-afe5-4437e320d560\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%5C\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0cd47c31-9f8e-11ec-843c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 405, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:16 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "5202690e-e610-4a89-a0bf-d351325432ca" + }, + "ResponseBody": { + "odata.error": { + "code": "MethodNotAllowed", + "message": { + "lang": "en-us", + "value": "RequestHandler.Delete\r\nActivityId: f32a5911-1d2a-446f-9976-c71bc11d6415, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:5202690e-e610-4a89-a0bf-d351325432ca\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%5C", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0cd752f7-9f8e-11ec-b48c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:16 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "1230ad97-effa-4280-bfbd-93962185e750" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:48:16 gmt\n\n\u0027\r\nActivityId: f073e63b-768e-4048-bbc4-8ab9a825b520, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:1230ad97-effa-4280-bfbd-93962185e750\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%5C(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "0ce3fd8d-9f8e-11ec-af44-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:48:16 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "eb099872-9e3d-4796-b2ff-971a56cd8670" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:48:16 gmt\n\n\u0027\r\nActivityId: 801735c3-1361-4086-a606-9ec146a72c78, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:eb099872-9e3d-4796-b2ff-971a56cd8670\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%5C(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0ce6c1f4-9f8e-11ec-97b5-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:16 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "4f750d49-e692-4b21-88b1-a1a6051dc90c" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:48:16 gmt\n\n\u0027\r\nActivityId: a2f55711-deb1-4ef5-9f3e-f9ed0e2e7432, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:4f750d49-e692-4b21-88b1-a1a6051dc90c\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "814", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0ce98738-9f8e-11ec-a01e-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF9mMzQ5YWQ4OC1jYWQ2LTRiNjYtODg1MS1lY2Y2NDY3YjU4ODMNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfMDdkNzA2YzktNzJhMy00NTI0LWFkOWQtZGQxMWNiOTc4YWZjDQoNCi0tY2hhbmdlc2V0XzA3ZDcwNmM5LTcyYTMtNDUyNC1hZDlkLWRkMTFjYjk3OGFmYw0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLyU1QyhQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0ODoxOSBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDg6MTkgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0XzA3ZDcwNmM5LTcyYTMtNDUyNC1hZDlkLWRkMTFjYjk3OGFmYy0tDQoNCi0tYmF0Y2hfZjM0OWFkODgtY2FkNi00YjY2LTg4NTEtZWNmNjQ2N2I1ODgzLS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:48:16 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "e220a2a9-a8c7-421c-9440-d81675c32a62" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzk4YzA0NDUzLTgwMWYtNDEwNC04OTVlLWIzZWEzO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ZXQtc2RrLzIuMTQuMCBIb3N0LzY0LWJpdCBNaWNyb3NvZnRXaW5kb3dzTlQvMTAuMC4xOTA0MS4wXG5SZXF1ZXN0SUQ6ZTIyMGEyYTktYThjNy00MjFjLTk0NDAtZDgxNjc1YzMyYTYyXG4ifX19DQotLWNoYW5nZXNldHJlc3BvbnNlXzJiY2U5YzhiLTM5NDAtNDRhMC04M2M4LTVjOTNhNTkzYmEzNC0tCi0tYmF0Y2hyZXNwb25zZV85OGMwNDQ1My04MDFmLTQxMDQtODk1ZS1iM2VhMzhkNTk1YTMtLQ0K" + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0cee46a0-9f8e-11ec-b661-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "//" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:16 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "d879b0f3-178e-410f-9c7f-85f8f45c8154" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027/\u0027.\nRequestID:d879b0f3-178e-410f-9c7f-85f8f45c8154\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0cee46a0-9f8e-11ec-b661-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "//" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:16 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "b5d884a7-5f19-4152-bdd1-5bc66cf1ab6c" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027/\u0027.\nRequestID:b5d884a7-5f19-4152-bdd1-5bc66cf1ab6c\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0cee46a0-9f8e-11ec-b661-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "//" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:18 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "719083b3-e292-407e-a902-ff6182204591" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027/\u0027.\nRequestID:719083b3-e292-407e-a902-ff6182204591\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:19 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0cee46a0-9f8e-11ec-b661-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:19 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "//" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:21 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "4e7d81a7-3403-430c-8341-9f3463e50bbf" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027/\u0027.\nRequestID:4e7d81a7-3403-430c-8341-9f3463e50bbf\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%2F%2F\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0fdd79cf-9f8e-11ec-935a-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:21 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "161b53b7-bcb9-4c76-8e5e-3cdaa18ae306" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "Request url is invalid.\r\nActivityId: 161b53b7-bcb9-4c76-8e5e-3cdaa18ae306, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:161b53b7-bcb9-4c76-8e5e-3cdaa18ae306\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%2F%2F", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0fdf6113-9f8e-11ec-a3bc-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:21 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "c873c846-a907-4450-a895-1af5689f31f8" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "Request url is invalid.\r\nActivityId: c873c846-a907-4450-a895-1af5689f31f8, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:c873c846-a907-4450-a895-1af5689f31f8\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%2F%2F(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "0fe7c007-9f8e-11ec-84cd-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:21 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "b19f8e95-71dd-46a4-92d7-37c82dc00263" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "One of the input values is invalid.\r\nActivityId: b19f8e95-71dd-46a4-92d7-37c82dc00263, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:b19f8e95-71dd-46a4-92d7-37c82dc00263\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%2F%2F(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0fe9730e-9f8e-11ec-81f7-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:21 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "3eed8277-e857-4a67-887d-1a5ba966a292" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "One of the input values is invalid.\r\nActivityId: 3eed8277-e857-4a67-887d-1a5ba966a292, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:3eed8277-e857-4a67-887d-1a5ba966a292\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "817", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0febc08e-9f8e-11ec-98f5-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF84NjIyZWRlMC02OGU5LTRhZWMtODAxNi1jZGRiMDdmMjNjODUNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfZTA5MGE2NTMtMGVkOS00MmMzLTgwNmItNmRhODkzOGZiZmIwDQoNCi0tY2hhbmdlc2V0X2UwOTBhNjUzLTBlZDktNDJjMy04MDZiLTZkYTg5MzhmYmZiMA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLyUyRiUyRihQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0ODoyNCBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDg6MjQgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0X2UwOTBhNjUzLTBlZDktNDJjMy04MDZiLTZkYTg5MzhmYmZiMC0tDQoNCi0tYmF0Y2hfODYyMmVkZTAtNjhlOS00YWVjLTgwMTYtY2RkYjA3ZjIzYzg1LS0NCg==", + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:21 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "1caae20b-5dea-4b0b-8e1a-2026266fad12" + }, + "ResponseBody": { + "odata.error": { + "code": "InvalidInput", + "message": { + "lang": "en-us", + "value": "One of the input values is invalid.\r\nActivityId: 1caae20b-5dea-4b0b-8e1a-2026266fad12, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:1caae20b-5dea-4b0b-8e1a-2026266fad12\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0fedbc02-9f8e-11ec-a031-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "#" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:21 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "b41c226e-9cc3-46f3-9ad6-c1495bb4b618" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027#\u0027.\nRequestID:b41c226e-9cc3-46f3-9ad6-c1495bb4b618\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0fedbc02-9f8e-11ec-a031-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "#" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:21 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "439af512-ae11-40b6-ae34-ec3d3f573760" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027#\u0027.\nRequestID:439af512-ae11-40b6-ae34-ec3d3f573760\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0fedbc02-9f8e-11ec-a031-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "#" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:23 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "cf8be3cb-246d-4c34-bd63-d2628795d0a2" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027#\u0027.\nRequestID:cf8be3cb-246d-4c34-bd63-d2628795d0a2\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:24 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "0fedbc02-9f8e-11ec-a031-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "#" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:26 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "3d804f36-f472-4365-bfdd-9f74bf3f8ba8" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027#\u0027.\nRequestID:3d804f36-f472-4365-bfdd-9f74bf3f8ba8\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%23\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "12dc009f-9f8e-11ec-aeea-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 405, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:26 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "cb2ae68e-b705-4f42-acd3-8fdf2273bd97" + }, + "ResponseBody": { + "odata.error": { + "code": "MethodNotAllowed", + "message": { + "lang": "en-us", + "value": "RequestHandler.Delete\r\nActivityId: 6450ec2e-fe64-4c58-b5f3-7010bc55677f, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:cb2ae68e-b705-4f42-acd3-8fdf2273bd97\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%23", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "12dead55-9f8e-11ec-a2a6-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:26 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "166ef929-a7df-4154-a0b7-7d3ff55d773f" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:48:27 gmt\n\n\u0027\r\nActivityId: 7f7d6694-43e8-455f-8fdb-0d4d540a23fe, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:166ef929-a7df-4154-a0b7-7d3ff55d773f\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%23(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "12ea3f67-9f8e-11ec-9548-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:48:26 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "dd60ec8e-650e-4c6c-9170-fac5d9505690" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:48:27 gmt\n\n\u0027\r\nActivityId: 2fb6dbad-3746-42ed-8ef7-2ebf56b89529, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:dd60ec8e-650e-4c6c-9170-fac5d9505690\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%23(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "12ece6fa-9f8e-11ec-809e-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:26 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "33506932-9306-47a9-abdf-b8e2b0175669" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB\nwed, 09 mar 2022 09:48:27 gmt\n\n\u0027\r\nActivityId: d90ae07b-85d6-4c1a-8e01-3b1a58c1c763, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:33506932-9306-47a9-abdf-b8e2b0175669\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "814", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "12ef9092-9f8e-11ec-a933-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF83NWQxZDVjZC05MDliLTRkYTgtOTdhYS1lOTZkNTMwNmE2OTENCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfOWRjN2FjNDUtYzUwMy00MGNmLWIwNTItYmNkMTBjOWE4YjZkDQoNCi0tY2hhbmdlc2V0XzlkYzdhYzQ1LWM1MDMtNDBjZi1iMDUyLWJjZDEwYzlhOGI2ZA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLyUyMyhQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0ODoyOSBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDg6MjkgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0XzlkYzdhYzQ1LWM1MDMtNDBjZi1iMDUyLWJjZDEwYzlhOGI2ZC0tDQoNCi0tYmF0Y2hfNzVkMWQ1Y2QtOTA5Yi00ZGE4LTk3YWEtZTk2ZDUzMDZhNjkxLS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:48:26 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "28449d09-e0a0-4dc0-8f41-5811294bbc71" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2ExNDE3NzkzLWZkNzgtNGUyZS05M2RhLWZhOWYzYjc5YTBlOQ0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzdjZmUwM2YxLWE0NjYtNGQ0ZS1hZWUyLTNlYTcwYzYyNzRhNg0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzdjZmUwM2YxLWE0NjYtNGQ0ZS1hZWUyLTNlYTcwYzYyNzRhNgpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2h0dHAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5CgpIVFRQLzEuMSA0MDEgVW5hdXRob3JpemVkDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb247b2RhdGE9ZnVsbG1ldGFkYXRhDQoNCnsib2RhdGEuZXJyb3IiOnsiY29kZSI6IlVuYXV0aG9yaXplZCIsIm1lc3NhZ2UiOnsibGFuZyI6ImVuLXVzIiwidmFsdWUiOiJUaGUgaW5wdXQgYXV0aG9yaXphdGlvbiB0b2tlbiBjYW4ndCBzZXJ2ZSB0aGUgcmVxdWVzdC4gVGhlIHdyb25nIGtleSBpcyBiZWluZyB1c2VkIG9yIHRoZSBleHBlY3RlZCBwYXlsb2FkIGlzIG5vdCBidWlsdCBhcyBwZXIgdGhlIHByb3RvY29sLiBGb3IgbW9yZSBpbmZvOiBodHRwczovL2FrYS5tcy9jb3Ntb3NkYi10c2ctdW5hdXRob3JpemVkLiBTZXJ2ZXIgdXNlZCB0aGUgZm9sbG93aW5nIHBheWxvYWQgdG8gc2lnbjogJ2dldFxuY29sbHNcbmRicy9UYWJsZXNEQlxud2VkLCAwOSBtYXIgMjAyMiAwOTo0ODoyNyBnbXRcblxuJ1xyXG5BY3Rpdml0eUlkOiA1ZGU5ZjRkMy1iMWM0LTRiOWUtODE5NS1jOWE3MjI4NGE1ZDMsIE1pY3Jvc29mdC5BenVyZS5Eb2N1bWVudHMuQ29tbW9uLzIuMTQuMCwgZG9jdW1lbnRkYi1kb3RuZXQtc2RrLzIuMTQuMCBIb3N0LzY0LWJpdCBNaWNyb3NvZnRXaW5kb3dzTlQvMTAuMC4xOTA0MS4wXG5SZXF1ZXN0SUQ6Mjg0NDlkMDktZTBhMC00ZGMwLThmNDEtNTgxMTI5NGJiYzcxXG4ifX19DQotLWNoYW5nZXNldHJlc3BvbnNlXzdjZmUwM2YxLWE0NjYtNGQ0ZS1hZWUyLTNlYTcwYzYyNzRhNi0tCi0tYmF0Y2hyZXNwb25zZV9hMTQxNzc5My1mZDc4LTRlMmUtOTNkYS1mYTlmM2I3OWEwZTktLQ0K" + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "12f25360-9f8e-11ec-a86c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "?" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:26 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "75f5a2fe-8d4e-4801-8963-01790e129f34" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027?\u0027.\nRequestID:75f5a2fe-8d4e-4801-8963-01790e129f34\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "12f25360-9f8e-11ec-a86c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "?" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:26 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "ad2ce25f-12e3-44fa-951e-022e1ce47869" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027?\u0027.\nRequestID:ad2ce25f-12e3-44fa-951e-022e1ce47869\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "12f25360-9f8e-11ec-a86c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "?" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:28 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "67034aec-21fd-463f-b66d-b1cd91a1a4ff" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027?\u0027.\nRequestID:67034aec-21fd-463f-b66d-b1cd91a1a4ff\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "18", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:29 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "12f25360-9f8e-11ec-a86c-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:29 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "?" + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:31 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "2da80a05-3146-4c48-9168-1183140a51aa" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name presented contains invalid character \u0027?\u0027.\nRequestID:2da80a05-3146-4c48-9168-1183140a51aa\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%3F\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "15e8192c-9f8e-11ec-84cc-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 405, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:31 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "d6aa830a-fe6d-49d0-84b4-b53caec1e37f" + }, + "ResponseBody": { + "odata.error": { + "code": "MethodNotAllowed", + "message": { + "lang": "en-us", + "value": "RequestHandler.Delete\r\nActivityId: 22ec4844-cb86-45fc-b7a6-527fac70b5cd, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:d6aa830a-fe6d-49d0-84b4-b53caec1e37f\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%3F", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "15eb3365-9f8e-11ec-b4ee-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:31 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "eee6cdfe-1e89-46f6-9724-5f1e92006aa3" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "Message: {\u0022Errors\u0022:[\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:48:32 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022,\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:48:32 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022]}\r\nActivityId: f1a01016-5092-4878-83fe-4ef04fda32d0, Request URI: /apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876929s, RequestStats: \r\nRequestStartTime: 2022-03-09T09:48:32.1150217Z, RequestEndTime: 2022-03-09T09:48:32.1249507Z, Number of regions attempted:1\r\n{\u0022systemHistory\u0022:[{\u0022dateUtc\u0022:\u00222022-03-09T09:47:32.3341030Z\u0022,\u0022cpu\u0022:0.621,\u0022memory\u0022:484818672.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0208,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:42.3442860Z\u0022,\u0022cpu\u0022:2.280,\u0022memory\u0022:486200192.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0372,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:52.3543451Z\u0022,\u0022cpu\u0022:0.447,\u0022memory\u0022:486070972.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0186,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:02.3644906Z\u0022,\u0022cpu\u0022:0.696,\u0022memory\u0022:485860888.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0207,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:12.3747117Z\u0022,\u0022cpu\u0022:0.922,\u0022memory\u0022:484951896.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0122,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:22.3848673Z\u0022,\u0022cpu\u0022:0.619,\u0022memory\u0022:484561268.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0209,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}}]}\r\nRequestStart: 2022-03-09T09:48:32.1150217Z; ResponseTime: 2022-03-09T09:48:32.1249507Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.24:11000/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876929s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.336, ActivityId: f1a01016-5092-4878-83fe-4ef04fda32d0, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1150217Z\u0022, \u0022durationInMs\u0022: 0.0085},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1150302Z\u0022, \u0022durationInMs\u0022: 0.0031},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1150333Z\u0022, \u0022durationInMs\u0022: 0.2168},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1152501Z\u0022, \u0022durationInMs\u0022: 0.6385},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1158886Z\u0022, \u0022durationInMs\u0022: 0.0719},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1159605Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:469,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\nRequestStart: 2022-03-09T09:48:32.1150217Z; ResponseTime: 2022-03-09T09:48:32.1249507Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.23:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.273, ActivityId: f1a01016-5092-4878-83fe-4ef04fda32d0, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1150217Z\u0022, \u0022durationInMs\u0022: 0.0065},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1150282Z\u0022, \u0022durationInMs\u0022: 0.0018},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1150300Z\u0022, \u0022durationInMs\u0022: 0.1684},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1151984Z\u0022, \u0022durationInMs\u0022: 0.6881},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1158865Z\u0022, \u0022durationInMs\u0022: 0.0595},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1159460Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:469,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\n, SDK: Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:eee6cdfe-1e89-46f6-9724-5f1e92006aa3\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%3F(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "15f734be-9f8e-11ec-bf56-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:48:31 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "f9efd461-a256-4bfe-84ad-c08f887629eb" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "Message: {\u0022Errors\u0022:[\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:48:32 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022,\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:48:32 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022]}\r\nActivityId: a7f12c76-c029-42ab-ba15-6b7bc172c1cf, Request URI: /apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, RequestStats: \r\nRequestStartTime: 2022-03-09T09:48:32.1450216Z, RequestEndTime: 2022-03-09T09:48:32.1450216Z, Number of regions attempted:1\r\n{\u0022systemHistory\u0022:[{\u0022dateUtc\u0022:\u00222022-03-09T09:47:32.3341030Z\u0022,\u0022cpu\u0022:0.621,\u0022memory\u0022:484818672.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0208,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:42.3442860Z\u0022,\u0022cpu\u0022:2.280,\u0022memory\u0022:486200192.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0372,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:52.3543451Z\u0022,\u0022cpu\u0022:0.447,\u0022memory\u0022:486070972.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0186,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:02.3644906Z\u0022,\u0022cpu\u0022:0.696,\u0022memory\u0022:485860888.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0207,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:12.3747117Z\u0022,\u0022cpu\u0022:0.922,\u0022memory\u0022:484951896.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0122,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:22.3848673Z\u0022,\u0022cpu\u0022:0.619,\u0022memory\u0022:484561268.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0209,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}}]}\r\nRequestStart: 2022-03-09T09:48:32.1450216Z; ResponseTime: 2022-03-09T09:48:32.1450216Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.23:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876928s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.383, ActivityId: a7f12c76-c029-42ab-ba15-6b7bc172c1cf, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1450216Z\u0022, \u0022durationInMs\u0022: 0.009},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1450306Z\u0022, \u0022durationInMs\u0022: 0.0027},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1450333Z\u0022, \u0022durationInMs\u0022: 0.1067},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1451400Z\u0022, \u0022durationInMs\u0022: 1.035},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1461750Z\u0022, \u0022durationInMs\u0022: 0.1169},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1462919Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:469,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\nRequestStart: 2022-03-09T09:48:32.1450216Z; ResponseTime: 2022-03-09T09:48:32.1450216Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.28:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336015624328s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.285, ActivityId: a7f12c76-c029-42ab-ba15-6b7bc172c1cf, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1450216Z\u0022, \u0022durationInMs\u0022: 0.0052},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1450268Z\u0022, \u0022durationInMs\u0022: 0.0018},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1450286Z\u0022, \u0022durationInMs\u0022: 0.0692},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1450978Z\u0022, \u0022durationInMs\u0022: 0.8053},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1459031Z\u0022, \u0022durationInMs\u0022: 0.1465},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1460496Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:469,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\n, SDK: Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:f9efd461-a256-4bfe-84ad-c08f887629eb\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/%3F(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "15fa7aeb-9f8e-11ec-a2bc-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:31 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "5e47c325-c139-414a-942c-114700de9711" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "Message: {\u0022Errors\u0022:[\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:48:32 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022,\u0022The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - \u0027get\\ncolls\\ndbs\\/TablesDB\\nwed, 09 mar 2022 09:48:32 gmt\\n\\n\u0027. Learn more: https:\\/\\/aka.ms\\/cosmosdb-tsg-mac-signature\u0022]}\r\nActivityId: c37815a5-f564-4b3c-8194-8f6db4daad32, Request URI: /apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336015624328s, RequestStats: \r\nRequestStartTime: 2022-03-09T09:48:32.1650226Z, RequestEndTime: 2022-03-09T09:48:32.1650226Z, Number of regions attempted:1\r\n{\u0022systemHistory\u0022:[{\u0022dateUtc\u0022:\u00222022-03-09T09:47:32.3341030Z\u0022,\u0022cpu\u0022:0.621,\u0022memory\u0022:484818672.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0208,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:42.3442860Z\u0022,\u0022cpu\u0022:2.280,\u0022memory\u0022:486200192.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0372,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:47:52.3543451Z\u0022,\u0022cpu\u0022:0.447,\u0022memory\u0022:486070972.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0186,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:02.3644906Z\u0022,\u0022cpu\u0022:0.696,\u0022memory\u0022:485860888.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0207,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:12.3747117Z\u0022,\u0022cpu\u0022:0.922,\u0022memory\u0022:484951896.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0122,\u0022availableThreads\u0022:32765,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}},{\u0022dateUtc\u0022:\u00222022-03-09T09:48:22.3848673Z\u0022,\u0022cpu\u0022:0.619,\u0022memory\u0022:484561268.000,\u0022threadInfo\u0022:{\u0022isThreadStarving\u0022:\u0022False\u0022,\u0022threadWaitIntervalInMs\u0022:0.0209,\u0022availableThreads\u0022:32766,\u0022minThreads\u0022:52,\u0022maxThreads\u0022:32767}}]}\r\nRequestStart: 2022-03-09T09:48:32.1650226Z; ResponseTime: 2022-03-09T09:48:32.1650226Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.28:11300/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336015624328s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.28, ActivityId: c37815a5-f564-4b3c-8194-8f6db4daad32, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1650226Z\u0022, \u0022durationInMs\u0022: 0.0081},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1650307Z\u0022, \u0022durationInMs\u0022: 0.0024},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1650331Z\u0022, \u0022durationInMs\u0022: 0.1551},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1651882Z\u0022, \u0022durationInMs\u0022: 0.6439},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1658321Z\u0022, \u0022durationInMs\u0022: 0.134},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1659661Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:469,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\nRequestStart: 2022-03-09T09:48:32.1650226Z; ResponseTime: 2022-03-09T09:48:32.1650226Z; StoreResult: StorePhysicalAddress: rntbd://10.0.0.24:11000/apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876929s, LSN: 52, GlobalCommittedLsn: 52, PartitionKeyRangeId: , IsValid: True, StatusCode: 401, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: -1#52, UsingLocalLSN: False, TransportException: null, BELatencyMs: 0.268, ActivityId: c37815a5-f564-4b3c-8194-8f6db4daad32, RetryAfterInMs: , TransportRequestTimeline: {\u0022requestTimeline\u0022:[{\u0022event\u0022: \u0022Created\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1650226Z\u0022, \u0022durationInMs\u0022: 0.0055},{\u0022event\u0022: \u0022ChannelAcquisitionStarted\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1650281Z\u0022, \u0022durationInMs\u0022: 0.0016},{\u0022event\u0022: \u0022Pipelined\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1650297Z\u0022, \u0022durationInMs\u0022: 0.1288},{\u0022event\u0022: \u0022Transit Time\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1651585Z\u0022, \u0022durationInMs\u0022: 0.594},{\u0022event\u0022: \u0022Received\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1657525Z\u0022, \u0022durationInMs\u0022: 0.1297},{\u0022event\u0022: \u0022Completed\u0022, \u0022startTimeUtc\u0022: \u00222022-03-09T09:48:32.1658822Z\u0022, \u0022durationInMs\u0022: 0}],\u0022requestSizeInBytes\u0022:469,\u0022responseMetadataSizeInBytes\u0022:124,\u0022responseBodySizeInBytes\u0022:510};\r\n ResourceType: Collection, OperationType: ReadFeed\r\n, SDK: Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:5e47c325-c139-414a-942c-114700de9711\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "814", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "15ff8b80-9f8e-11ec-80a1-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF9iOWE0ODAzMy03MGZjLTRlMGUtODMzNS01YWMzNTNjMjQzZjgNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfZTRjYjBkMTItOTcwZC00OTQ0LWI3OGEtOTU2YzNmODliN2QxDQoNCi0tY2hhbmdlc2V0X2U0Y2IwZDEyLTk3MGQtNDk0NC1iNzhhLTk1NmMzZjg5YjdkMQ0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLyUzRihQYXJ0aXRpb25LZXk9J0EnLFJvd0tleT0nQicpIEhUVFAvMS4xDQp4LW1zLXZlcnNpb246IDIwMTktMDItMDINCkRhdGFTZXJ2aWNlVmVyc2lvbjogMy4wDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24NCkFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KQ29udGVudC1MZW5ndGg6IDExMg0KWC1IVFRQLU1ldGhvZDogTUVSR0UNCngtbXMtZGF0ZTogV2VkLCAwOSBNYXIgMjAyMiAwOTo0ODozNCBHTVQNCkRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDg6MzQgR01UDQoNCnsiUGFydGl0aW9uS2V5IjogIkEiLCAiUGFydGl0aW9uS2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyIsICJSb3dLZXkiOiAiQiIsICJSb3dLZXlAb2RhdGEudHlwZSI6ICJFZG0uU3RyaW5nIn0NCi0tY2hhbmdlc2V0X2U0Y2IwZDEyLTk3MGQtNDk0NC1iNzhhLTk1NmMzZjg5YjdkMS0tDQoNCi0tYmF0Y2hfYjlhNDgwMzMtNzBmYy00ZTBlLTgzMzUtNWFjMzUzYzI0M2Y4LS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:48:31 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "a5a73c20-9607-492f-898d-68b6d3d3d30c" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzU3MzMzZDBjLTNkMTYtNDBmYi05NzVhLTZmMGU0MDFlZDI4Ng0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzA4MGEwZTFkLTE1NTctNDNjMy04N2U1LTgyZjYxMmU0ZTgwMw0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzA4MGEwZTFkLTE1NTctNDNjMy04N2U1LTgyZjYxMmU0ZTgwMwpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2h0dHAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5CgpIVFRQLzEuMSA0MDEgVW5hdXRob3JpemVkDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb247b2RhdGE9ZnVsbG1ldGFkYXRhDQoNCnsib2RhdGEuZXJyb3IiOnsiY29kZSI6IlVuYXV0aG9yaXplZCIsIm1lc3NhZ2UiOnsibGFuZyI6ImVuLXVzIiwidmFsdWUiOiJNZXNzYWdlOiB7XCJFcnJvcnNcIjpbXCJUaGUgTUFDIHNpZ25hdHVyZSBmb3VuZCBpbiB0aGUgSFRUUCByZXF1ZXN0IGlzIG5vdCB0aGUgc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https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "160b9e6e-9f8e-11ec-a4bb-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "- " + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:31 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "7c648a24-06d0-4625-9840-381a499ac0a3" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name can\u0027t end with space.\nRequestID:7c648a24-06d0-4625-9840-381a499ac0a3\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "160b9e6e-9f8e-11ec-a4bb-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "- " + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:31 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "2bef4709-35a1-4851-a0ea-bdb08f803196" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name can\u0027t end with space.\nRequestID:2bef4709-35a1-4851-a0ea-bdb08f803196\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "160b9e6e-9f8e-11ec-a4bb-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "- " + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:33 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "900671e3-60d4-4b18-8f8c-fb0d35214842" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name can\u0027t end with space.\nRequestID:900671e3-60d4-4b18-8f8c-fb0d35214842\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:34 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "160b9e6e-9f8e-11ec-a4bb-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:34 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "- " + }, + "StatusCode": 500, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:36 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "1907d613-4ee1-4ee3-ab8c-109170eab195" + }, + "ResponseBody": { + "odata.error": { + "code": "InternalServerError", + "message": { + "lang": "en-us", + "value": "The resource name can\u0027t end with space.\nRequestID:1907d613-4ee1-4ee3-ab8c-109170eab195\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027-%20\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:48:39 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1905a25a-9f8e-11ec-a564-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:39 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:36 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "c913a192-b69c-458c-9079-e791e0ef9f25" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027delete\ncolls\ndbs/TablesDB/colls/-\nwed, 09 mar 2022 09:48:37 gmt\n\n\u0027\r\nActivityId: 9f55686d-ead7-4597-a34c-bf6b913cbe89, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:c913a192-b69c-458c-9079-e791e0ef9f25\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/-%20", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:39 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "190883c7-9f8e-11ec-86cc-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:39 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:48:36 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "ba6632fc-9c8e-4ef4-88f6-b03a39cef898" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB/colls/-\nwed, 09 mar 2022 09:48:37 gmt\n\n\u0027\r\nActivityId: e913ca4b-7352-44a6-8bb8-3fd9ec701366, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:ba6632fc-9c8e-4ef4-88f6-b03a39cef898\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/-%20(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:39 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "190ba7a7-9f8e-11ec-b869-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:39 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:48:36 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "dbefa96a-f58b-44dd-874d-6e56140167cb" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB/colls/-\nwed, 09 mar 2022 09:48:37 gmt\n\n\u0027\r\nActivityId: fd0f9092-58e0-406c-ac22-0385bdd874d6, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:dbefa96a-f58b-44dd-874d-6e56140167cb\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/-%20(PartitionKey=\u0027PK\u0027,RowKey=\u0027RK\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:39 GMT", + "If-Match": "*", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "190dfcc4-9f8e-11ec-aba1-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:39 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 401, + "ResponseHeaders": { + "Content-Type": "application/json; odata=fullmetadata", + "Date": "Wed, 09 Mar 2022 09:48:36 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "7d44294e-da2a-4893-8f4d-a80a6ecedcb6" + }, + "ResponseBody": { + "odata.error": { + "code": "Unauthorized", + "message": { + "lang": "en-us", + "value": "The input authorization token can\u0027t serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: \u0027get\ncolls\ndbs/TablesDB/colls/-\nwed, 09 mar 2022 09:48:37 gmt\n\n\u0027\r\nActivityId: 0c6f8e0a-5c7a-4f1f-bd77-d3f8c582fcea, Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:7d44294e-da2a-4893-8f4d-a80a6ecedcb6\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "815", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:48:39 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "1911456d-9f8e-11ec-b750-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:48:39 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF9jOWVmNGUzZC02MTllLTQ2NmItOWE2OC1kODIwOGViZjllNTcNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfZjc3ZTBhNGQtZmQyNS00YzI3LTg1YzMtNThmZTk2YmQ2ZDkyDQoNCi0tY2hhbmdlc2V0X2Y3N2UwYTRkLWZkMjUtNGMyNy04NWMzLTU4ZmU5NmJkNmQ5Mg0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBiaW5hcnkNCkNvbnRlbnQtSUQ6IDANCg0KUE9TVCBodHRwczovL3lhbGx0YnRlc3RzcHJpbS50YWJsZS5jb3Ntb3MuYXp1cmUuY29tLy0lMjAoUGFydGl0aW9uS2V5PSdBJyxSb3dLZXk9J0InKSBIVFRQLzEuMQ0KeC1tcy12ZXJzaW9uOiAyMDE5LTAyLTAyDQpEYXRhU2VydmljZVZlcnNpb246IDMuMA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9qc29uDQpBY2NlcHQ6IGFwcGxpY2F0aW9uL2pzb24NCkNvbnRlbnQtTGVuZ3RoOiAxMTINClgtSFRUUC1NZXRob2Q6IE1FUkdFDQp4LW1zLWRhdGU6IFdlZCwgMDkgTWFyIDIwMjIgMDk6NDg6MzkgR01UDQpEYXRlOiBXZWQsIDA5IE1hciAyMDIyIDA5OjQ4OjM5IEdNVA0KDQp7IlBhcnRpdGlvbktleSI6ICJBIiwgIlBhcnRpdGlvbktleUBvZGF0YS50eXBlIjogIkVkbS5TdHJpbmciLCAiUm93S2V5IjogIkIiLCAiUm93S2V5QG9kYXRhLnR5cGUiOiAiRWRtLlN0cmluZyJ9DQotLWNoYW5nZXNldF9mNzdlMGE0ZC1mZDI1LTRjMjctODVjMy01OGZlOTZiZDZkOTItLQ0KDQotLWJhdGNoX2M5ZWY0ZTNkLTYxOWUtNDY2Yi05YTY4LWQ4MjA4ZWJmOWU1Ny0tDQo=", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:48:36 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "33669067-d110-4437-9607-a16896dee9f9" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlXzE3NDcyMTAxLWQ2NzAtNGMxZi05MDIwLTIwNDk3N2FhNDVjYg0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzA5ZTgzYWM0LWUyZTUtNGM1Ni1iNGVlLTkzYmZmZTc0Yzk5Yw0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzA5ZTgzYWM0LWUyZTUtNGM1Ni1iNGVlLTkzYmZmZTc0Yzk5YwpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2h0dHAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5CgpIVFRQLzEuMSA0MDEgVW5hdXRob3JpemVkDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb247b2RhdGE9ZnVsbG1ldGFkYXRhDQoNCnsib2RhdGEuZXJyb3IiOnsiY29kZSI6IlVuYXV0aG9yaXplZCIsIm1lc3NhZ2UiOnsibGFuZyI6ImVuLXVzIiwidmFsdWUiOiJUaGUgaW5wdXQgYXV0aG9yaXphdGlvbiB0b2tlbiBjYW4ndCBzZXJ2ZSB0aGUgcmVxdWVzdC4gVGhlIHdyb25nIGtleSBpcyBiZWluZyB1c2VkIG9yIHRoZSBleHBlY3RlZCBwYXlsb2FkIGlzIG5vdCBidWlsdCBhcyBwZXIgdGhlIHByb3RvY29sLiBGb3IgbW9yZSBpbmZvOiBodHRwczovL2FrYS5tcy9jb3Ntb3NkYi10c2ctdW5hdXRob3JpemVkLiBTZXJ2ZXIgdXNlZCB0aGUgZm9sbG93aW5nIHBheWxvYWQgdG8gc2lnbjogJ2dldFxuY29sbHNcbmRicy9UYWJsZXNEQi9jb2xscy8tXG53ZWQsIDA5IG1hciAyMDIyIDA5OjQ4OjM3IGdtdFxuXG4nXHJcbkFjdGl2aXR5SWQ6IGQ0YmVkMTA0LTgxZDMtNGJhMS04MjIxLTYwYWM1ZDQ1NzMxNCwgTWljcm9zb2Z0LkF6dXJlLkRvY3VtZW50cy5Db21tb24vMi4xNC4wLCBkb2N1bWVudGRiLWRvdG5ldC1zZGsvMi4xNC4wIEhvc3QvNjQtYml0IE1pY3Jvc29mdFdpbmRvd3NOVC8xMC4wLjE5MDQxLjBcblJlcXVlc3RJRDozMzY2OTA2Ny1kMTEwLTQ0MzctOTYwNy1hMTY4OTZkZWU5ZjlcbiJ9fX0NCi0tY2hhbmdlc2V0cmVzcG9uc2VfMDllODNhYzQtZTJlNS00YzU2LWI0ZWUtOTNiZmZlNzRjOTljLS0KLS1iYXRjaHJlc3BvbnNlXzE3NDcyMTAxLWQ2NzAtNGMxZi05MDIwLTIwNDk3N2FhNDVjYi0tDQo=" + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos_async.pyTestTableClientCosmosAsynctest_table_name_errors_bad_length.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos_async.pyTestTableClientCosmosAsynctest_table_name_errors_bad_length.json new file mode 100644 index 000000000000..54e213fdc3fc --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_client_cosmos_async.pyTestTableClientCosmosAsynctest_table_name_errors_bad_length.json @@ -0,0 +1,147 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "272", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:49:36 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "3af3fffe-9f8e-11ec-b23b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:49:36 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:49:33 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "8051ab4f-e41c-4427-b513-d3de2d3dd2a4" + }, + "ResponseBody": { + "odata.error": { + "code": "BadRequest", + "message": { + "lang": "en-us", + "value": "Message: {\u0022Errors\u0022:[\u0022The input name is invalid. Ensure to provide a unique non-empty string less than \u0027255\u0027 characters.\u0022,\u0022The request payload is invalid. Ensure to provide a valid request payload.\u0022]}\r\nActivityId: 700d579a-93c7-49a0-b3ac-2caf047e5e75, Request URI: /apps/9c967a2b-7b0d-4f49-a38d-36f1391fda86/services/5f2436c0-bf30-4016-9542-50f4ad767af4/partitions/d9a66888-db22-4c3c-a432-0ec6613fd00b/replicas/132903336061876927p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.19041.0\nRequestID:8051ab4f-e41c-4427-b513-d3de2d3dd2a4\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:49:36 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "3b38d31b-9f8e-11ec-b108-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:49:36 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 404, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:49:34 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "46766768-9c54-4d97-989e-838bfa4c0b75" + }, + "ResponseBody": { + "odata.error": { + "code": "ResourceNotFound", + "message": { + "lang": "en-us", + "value": "The specified resource does not exist.\nRequestID:46766768-9c54-4d97-989e-838bfa4c0b75\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(PartitionKey=\u0027foo\u0027,RowKey=\u0027foo\u0027)", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "116", + "Content-Type": "application/json", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:49:36 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "X-HTTP-Method": "MERGE", + "x-ms-client-request-id": "3b3d1a82-9f8e-11ec-a838-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:49:36 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "PartitionKey": "foo", + "PartitionKey@odata.type": "Edm.String", + "RowKey": "foo", + "RowKey@odata.type": "Edm.String" + }, + "StatusCode": 404, + "ResponseHeaders": { + "Content-Type": "application/json", + "Date": "Wed, 09 Mar 2022 09:49:34 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "c2783037-6ffa-45a1-a2d1-15cd58cb22c8" + }, + "ResponseBody": { + "odata.error": { + "code": "ResourceNotFound", + "message": { + "lang": "en-us", + "value": "The specified resource does not exist.\nRequestID:c2783037-6ffa-45a1-a2d1-15cd58cb22c8\n" + } + } + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/$batch", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "1066", + "Content-Type": "multipart/mixed; boundary=batch_00000000-0000-0000-0000-000000000000", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:49:37 GMT", + "MaxDataServiceVersion": "3.0;NetFx", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "3b428e1a-9f8e-11ec-939e-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:49:37 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": "LS1iYXRjaF82YTI1MTY1ZC0yMzhhLTQwYmUtOWEyMy1kZTdiNzM2MjlkZWENCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT1jaGFuZ2VzZXRfMDFjNDU1ODctOGIyZC00MjliLWI4MjktOGEzZjlmNzQwYWFkDQoNCi0tY2hhbmdlc2V0XzAxYzQ1NTg3LThiMmQtNDI5Yi1iODI5LThhM2Y5Zjc0MGFhZA0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9odHRwDQpDb250ZW50LVR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YmF0Y2hfNmEyNTE2NWQtMjM4YS00MGJlLTlhMjMtZGU3YjczNjI5ZGVhLS0NCg==", + "StatusCode": 202, + "ResponseHeaders": { + "Content-Type": "multipart/mixed; boundary=batchresponse_00000000-0000-0000-0000-000000000000", + "Date": "Wed, 09 Mar 2022 09:49:34 GMT", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "0de2816a-c857-49b2-b221-14e4cb4dd126" + }, + "ResponseBody": "LS1iYXRjaHJlc3BvbnNlX2YxNjY3OGFhLWZjZjgtNDU4NS05NDk5LTdkZjM3NThhZmEyZA0KQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PWNoYW5nZXNldHJlc3BvbnNlXzljNzExYWMzLTQxYjYtNDJiYy1hYmNhLTBiMGMwZTg4ODM3NQ0KDQotLWNoYW5nZXNldHJlc3BvbnNlXzljNzExYWMzLTQxYjYtNDJiYy1hYmNhLTBiMGMwZTg4ODM3NQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2h0dHAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5CgpIVFRQLzEuMSA0MDQgTm90IEZvdW5kDQpDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb247b2RhdGE9ZnVsbG1ldGFkYXRhDQoNCnsib2RhdGEuZXJyb3IiOnsiY29kZSI6IlJlc291cmNlTm90Rm91bmQiLCJtZXNzYWdlIjp7ImxhbmciOiJlbi11cyIsInZhbHVlIjoiVGhlIHNwZWNpZmllZCByZXNvdXJjZSBkb2VzIG5vdCBleGlzdC5cblJlcXVlc3RJRDowZGUyODE2YS1jODU3LTQ5YjItYjIyMS0xNGU0Y2I0ZGQxMjZcbiJ9fX0NCi0tY2hhbmdlc2V0cmVzcG9uc2VfOWM3MTFhYzMtNDFiNi00MmJjLWFiY2EtMGIwYzBlODg4Mzc1LS0KLS1iYXRjaHJlc3BvbnNlX2YxNjY3OGFhLWZjZjgtNDU4NS05NDk5LTdkZjM3NThhZmEyZC0tDQo=" + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.pyTestTableCosmostest_create_table_underscore_name.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.pyTestTableCosmostest_create_table_underscore_name.json new file mode 100644 index 000000000000..2197a86fdbf3 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.pyTestTableCosmostest_create_table_underscore_name.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "25", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:23:20 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "8fb7a1b7-9f8a-11ec-b0a0-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:23:20 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "my_table" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:23:21 GMT", + "ETag": "W/\u0022datetime\u00272022-03-09T09%3A23%3A21.4945288Z\u0027\u0022", + "Location": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027my_table\u0027)", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "722fa399-6eaa-42a2-ad95-a8b9ba5c70e8" + }, + "ResponseBody": { + "TableName": "my_table", + "odata.metadata": "https://fakeendpoint.table.cosmos.azure.com/$metadata#Tables/@Element" + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027my_table\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:23:24 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "91c482a3-9f8a-11ec-b719-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:23:24 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Date": "Wed, 09 Mar 2022 09:23:21 GMT", + "x-ms-request-id": "5ff91181-c0c2-4319-810d-0e53621a6fab" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.pyTestTableCosmostest_create_table_unicode_name.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.pyTestTableCosmostest_create_table_unicode_name.json new file mode 100644 index 000000000000..f2b810a2c3db --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos.pyTestTableCosmostest_create_table_unicode_name.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "47", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:23:48 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "a01c3623-9f8a-11ec-b66b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:23:48 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\u554A\u9F44\u4E02\u72DB\u72DC" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:23:47 GMT", + "ETag": "W/\u0022datetime\u00272022-03-09T09%3A23%3A47.9565320Z\u0027\u0022", + "Location": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%E5%95%8A%E9%BD%84%E4%B8%82%E7%8B%9B%E7%8B%9C\u0027)", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "0dfed5f2-ef21-4774-8dab-c61cda044c59" + }, + "ResponseBody": { + "TableName": "\u554A\u9F44\u4E02\u72DB\u72DC", + "odata.metadata": "https://fakeendpoint.table.cosmos.azure.com/$metadata#Tables/@Element" + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%E5%95%8A%E9%BD%84%E4%B8%82%E7%8B%9B%E7%8B%9C\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:23:50 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "a1853e57-9f8a-11ec-b352-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:23:50 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Date": "Wed, 09 Mar 2022 09:23:47 GMT", + "x-ms-request-id": "57cfc881-1b2a-4cae-a4a2-602972cc4143" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.pyTestTableCosmosAsynctest_create_table_underscore_name.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.pyTestTableCosmosAsynctest_create_table_underscore_name.json new file mode 100644 index 000000000000..b64f20229d37 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.pyTestTableCosmosAsynctest_create_table_underscore_name.json @@ -0,0 +1,60 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "25", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:38:08 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "a0f9f553-9f8c-11ec-976b-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:38:08 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "my_table" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:38:09 GMT", + "ETag": "W/\u0022datetime\u00272022-03-09T09%3A38%3A10.3862280Z\u0027\u0022", + "Location": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027my_table\u0027)", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "10c14a9c-0546-4434-8136-4d5ba18c39df" + }, + "ResponseBody": { + "TableName": "my_table", + "odata.metadata": "https://fakeendpoint.table.cosmos.azure.com/$metadata#Tables/@Element" + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027my_table\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:38:13 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "a3995dd7-9f8c-11ec-a6a3-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:38:13 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Date": "Wed, 09 Mar 2022 09:38:10 GMT", + "x-ms-request-id": "337880bd-5af5-456f-9708-b1aaa1c462fc" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.pyTestTableCosmosAsynctest_create_table_unicode_name.json b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.pyTestTableCosmosAsynctest_create_table_unicode_name.json new file mode 100644 index 000000000000..2c68c56e0c8f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_cosmos_async.pyTestTableCosmosAsynctest_create_table_unicode_name.json @@ -0,0 +1,60 @@ +{ + "Entries": [ + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json;odata=minimalmetadata", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "47", + "Content-Type": "application/json;odata=nometadata", + "DataServiceVersion": "3.0", + "Date": "Wed, 09 Mar 2022 09:40:28 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f4545231-9f8c-11ec-9b03-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:40:28 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": { + "TableName": "\u554A\u9F44\u4E02\u72DB\u72DC" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Type": "application/json; odata=minimalmetadata", + "Date": "Wed, 09 Mar 2022 09:40:28 GMT", + "ETag": "W/\u0022datetime\u00272022-03-09T09%3A40%3A27.9918600Z\u0027\u0022", + "Location": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%E5%95%8A%E9%BD%84%E4%B8%82%E7%8B%9B%E7%8B%9C\u0027)", + "Transfer-Encoding": "chunked", + "x-ms-request-id": "1b81bbd0-4490-4d43-ba85-7da5afab66b4" + }, + "ResponseBody": { + "TableName": "\u554A\u9F44\u4E02\u72DB\u72DC", + "odata.metadata": "https://fakeendpoint.table.cosmos.azure.com/$metadata#Tables/@Element" + } + }, + { + "RequestUri": "https://fakeendpoint.table.cosmos.azure.com/Tables(\u0027%E5%95%8A%E9%BD%84%E4%B8%82%E7%8B%9B%E7%8B%9C\u0027)", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "Date": "Wed, 09 Mar 2022 09:40:30 GMT", + "User-Agent": "azsdk-python-data-tables/12.2.1 Python/3.9.2 (Windows-10-10.0.22000-SP0)", + "x-ms-client-request-id": "f5ae4fe8-9f8c-11ec-88d9-5cf37093a909", + "x-ms-date": "Wed, 09 Mar 2022 09:40:30 GMT", + "x-ms-version": "2019-02-02" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Date": "Wed, 09 Mar 2022 09:40:28 GMT", + "x-ms-request-id": "c75ce55f-d478-485e-b520-7a17cea8d3d3" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/tables/azure-data-tables/tests/test_table.py b/sdk/tables/azure-data-tables/tests/test_table.py index b95c9375ab96..c8352669aec3 100644 --- a/sdk/tables/azure-data-tables/tests/test_table.py +++ b/sdk/tables/azure-data-tables/tests/test_table.py @@ -456,47 +456,27 @@ def test_account_sas(self, tables_storage_account_name, tables_primary_storage_a assert entities[1]['text'] == u'hello' finally: tsc.delete_table(table.table_name) + + @tables_decorator + @recorded_by_proxy + def test_unicode_create_table_unicode_name(self, tables_storage_account_name, tables_primary_storage_account_key): + account_url = self.account_url(tables_storage_account_name, "table") + tsc = TableServiceClient(account_url, credential=tables_primary_storage_account_key) + invalid_table_name = u'啊齄丂狛狜' - -class TestTablesUnitTest(TableTestCase): - tables_storage_account_name = "fake_storage_account" - tables_primary_storage_account_key = "fakeXMZjnGsZGvd4bVr3Il5SeHA" - credential = AzureNamedKeyCredential(name=tables_storage_account_name, key=tables_primary_storage_account_key) - - def test_unicode_create_table_unicode_name(self): - # Arrange - account_url = self.account_url(self.tables_storage_account_name, "table") - tsc = TableServiceClient(account_url, credential=self.credential) - - table_name = u'啊齄丂狛狜' - - # Act with pytest.raises(ValueError) as excinfo: - tsc.create_table(table_name) - + tsc.create_table(invalid_table_name) assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( excinfo) - - def test_create_table_invalid_name(self): - # Arrange - account_url = self.account_url(self.tables_storage_account_name, "table") - tsc = TableServiceClient(account_url, credential=self.credential) + + @tables_decorator + @recorded_by_proxy + def test_create_table_invalid_name(self, tables_storage_account_name, tables_primary_storage_account_key): + account_url = self.account_url(tables_storage_account_name, "table") + tsc = TableServiceClient(account_url, credential=tables_primary_storage_account_key) invalid_table_name = "my_table" with pytest.raises(ValueError) as excinfo: tsc.create_table(invalid_table_name) - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) - - def test_delete_table_invalid_name(self): - # Arrange - account_url = self.account_url(self.tables_storage_account_name, "table") - tsc = TableServiceClient(account_url, credential=self.credential) - invalid_table_name = "my_table" - - with pytest.raises(ValueError) as excinfo: - tsc.delete_table(invalid_table_name) - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( + excinfo) diff --git a/sdk/tables/azure-data-tables/tests/test_table_async.py b/sdk/tables/azure-data-tables/tests/test_table_async.py index e26c136ea3b1..98d58e862c07 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_async.py @@ -402,50 +402,29 @@ async def test_account_sas(self, tables_storage_account_name, tables_primary_sto assert entities[1]['text'] == u'hello' finally: await tsc.delete_table(table.table_name) + + @tables_decorator_async + @recorded_by_proxy_async + async def test_unicode_create_table_unicode_name(self, tables_storage_account_name, tables_primary_storage_account_key): + account_url = self.account_url(tables_storage_account_name, "table") + tsc = TableServiceClient(account_url, credential=tables_primary_storage_account_key) + invalid_table_name = u'啊齄丂狛狜' - -class TestTablesUnitTest(AsyncTableTestCase): - tables_storage_account_name = "fake_storage_account" - tables_primary_storage_account_key = "fakeXMZjnGsZGvd4bVr3Il5SeHA" - credential = AzureNamedKeyCredential(name=tables_storage_account_name, key=tables_primary_storage_account_key) - - @pytest.mark.asyncio - async def test_unicode_create_table_unicode_name(self): - # Arrange - account_url = self.account_url(self.tables_storage_account_name, "table") - tsc = TableServiceClient(account_url, credential=self.credential) - - table_name = u'啊齄丂狛狜' - - # Act with pytest.raises(ValueError) as excinfo: - await tsc.create_table(table_name) - + async with tsc: + await tsc.create_table(invalid_table_name) assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( excinfo) - - @pytest.mark.asyncio - async def test_create_table_invalid_name(self): - # Arrange - account_url = self.account_url(self.tables_storage_account_name, "table") - tsc = TableServiceClient(account_url, credential=self.credential) - invalid_table_name = "my_table" - - with pytest.raises(ValueError) as excinfo: - await tsc.create_table(table_name=invalid_table_name) - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) - - @pytest.mark.asyncio - async def test_delete_table_invalid_name(self): - # Arrange - account_url = self.account_url(self.tables_storage_account_name, "table") - tsc = TableServiceClient(account_url, credential=self.credential) + + @tables_decorator_async + @recorded_by_proxy_async + async def test_create_table_invalid_name(self, tables_storage_account_name, tables_primary_storage_account_key): + account_url = self.account_url(tables_storage_account_name, "table") + tsc = TableServiceClient(account_url, credential=tables_primary_storage_account_key) invalid_table_name = "my_table" with pytest.raises(ValueError) as excinfo: - await tsc.create_table(invalid_table_name) - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) + async with tsc: + await tsc.create_table(table_name=invalid_table_name) + assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( + excinfo) diff --git a/sdk/tables/azure-data-tables/tests/test_table_client.py b/sdk/tables/azure-data-tables/tests/test_table_client.py index 11627132a134..8428ca8b366d 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_client.py +++ b/sdk/tables/azure-data-tables/tests/test_table_client.py @@ -3,12 +3,14 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- +from multiprocessing.sharedctypes import Value import pytest import platform from devtools_testutils import AzureRecordedTestCase, recorded_by_proxy -from azure.data.tables import TableServiceClient, TableClient +from azure.data.tables._error import _validate_storage_tablename +from azure.data.tables import TableServiceClient, TableClient, TableTransactionError from azure.data.tables import __version__ as VERSION from azure.core.credentials import AzureNamedKeyCredential, AzureSasCredential @@ -104,6 +106,38 @@ def callback(response): for table in tables: count += 1 + @pytest.mark.live_test_only + @tables_decorator + @recorded_by_proxy + def test_table_name_errors(self, tables_storage_account_name, tables_primary_storage_account_key): + endpoint = self.account_url(tables_storage_account_name, "table") + + # storage table names must be alphanumeric, cannot begin with a number, and must be between 3 and 63 chars long. + invalid_table_names = ["1table", "a"*2, "a"*64, "a//", "my_table"] + for invalid_name in invalid_table_names: + client = TableClient( + endpoint=endpoint, credential=tables_primary_storage_account_key, table_name=invalid_name) + with pytest.raises(ValueError) as error: + client.create_table() + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + client.create_entity({'PartitionKey': 'foo', 'RowKey': 'bar'}) + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + client.upsert_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + client.delete_entity("PK", "RK") + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + client.get_table_access_policy() + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError): + batch = [] + batch.append(('upsert', {'PartitionKey': 'A', 'RowKey': 'B'})) + client.submit_transaction(batch) + assert 'Table names must be alphanumeric' in str(error.value) + class TestTableUnitTests(TableTestCase): tables_storage_account_name = "fake_storage_account" @@ -437,17 +471,6 @@ def test_create_table_client_with_complete_url(self): assert service.table_name == 'bar' assert service.account_name == self.tables_storage_account_name - def test_create_table_client_with_invalid_name(self): - # Arrange - table_url = "https://{}.table.core.windows.net:443/foo".format("test") - invalid_table_name = "my_table" - - # Assert - with pytest.raises(ValueError) as excinfo: - service = TableClient(endpoint=table_url, table_name=invalid_table_name, credential="self.tables_primary_storage_account_key") - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long." in str(excinfo) - def test_error_with_malformed_conn_str(self): # Arrange @@ -607,4 +630,22 @@ def test_create_client_for_azurite(self): assert table._secondary_endpoint == "https://127.0.0.1:10002/myaccount-secondary" assert table.credential.named_key.key == azurite_credential.named_key.key assert table.credential.named_key.name == azurite_credential.named_key.name - assert not table._cosmos_endpoint \ No newline at end of file + assert not table._cosmos_endpoint + + def test_validate_storage_tablename(self): + with pytest.raises(ValueError): + _validate_storage_tablename("a") + with pytest.raises(ValueError): + _validate_storage_tablename("aa") + _validate_storage_tablename("aaa") + _validate_storage_tablename("a"*63) + with pytest.raises(ValueError): + _validate_storage_tablename("a"*64) + with pytest.raises(ValueError): + _validate_storage_tablename("aaa-") + with pytest.raises(ValueError): + _validate_storage_tablename("aaa ") + with pytest.raises(ValueError): + _validate_storage_tablename("a aa") + with pytest.raises(ValueError): + _validate_storage_tablename("1aaa") diff --git a/sdk/tables/azure-data-tables/tests/test_table_client_async.py b/sdk/tables/azure-data-tables/tests/test_table_client_async.py index ce9517efdbbd..3a3054c19507 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_client_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_client_async.py @@ -12,6 +12,7 @@ from azure.core.credentials import AzureNamedKeyCredential, AzureSasCredential from azure.data.tables.aio import TableServiceClient, TableClient +from azure.data.tables import TableTransactionError from azure.data.tables._version import VERSION from _shared.asynctestcase import AsyncTableTestCase @@ -103,6 +104,39 @@ def callback(response): count = 0 async for table in tables: count += 1 + + @pytest.mark.live_test_only + @tables_decorator_async + @recorded_by_proxy_async + async def test_table_name_errors(self, tables_storage_account_name, tables_primary_storage_account_key): + endpoint = self.account_url(tables_storage_account_name, "table") + + # storage table names must be alphanumeric, cannot begin with a number, and must be between 3 and 63 chars long. + invalid_table_names = ["1table", "a"*2, "a"*64, "a//", "my_table"] + for invalid_name in invalid_table_names: + client = TableClient( + endpoint=endpoint, credential=tables_primary_storage_account_key, table_name=invalid_name) + async with client: + with pytest.raises(ValueError) as error: + await client.create_table() + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + await client.create_entity({'PartitionKey': 'foo', 'RowKey': 'bar'}) + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + await client.upsert_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + await client.delete_entity("PK", "RK") + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + await client.get_table_access_policy() + assert 'Table names must be alphanumeric' in str(error.value) + with pytest.raises(ValueError) as error: + batch = [] + batch.append(('upsert', {'PartitionKey': 'A', 'RowKey': 'B'})) + await client.submit_transaction(batch) + assert 'Table names must be alphanumeric' in str(error.value) class TestTableClientUnit(AsyncTableTestCase): @@ -472,18 +506,6 @@ async def test_create_table_client_with_complete_url_async(self): assert service.table_name == 'bar' assert service.account_name == self.tables_storage_account_name - @pytest.mark.asyncio - async def test_create_table_client_with_invalid_name_async(self): - # Arrange - table_url = "https://{}.table.core.windows.net:443/foo".format("storage_account_name") - invalid_table_name = "my_table" - - # Assert - with pytest.raises(ValueError) as excinfo: - service = TableClient(endpoint=table_url, table_name=invalid_table_name, credential="self.tables_primary_storage_account_key") - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long."in str(excinfo) - @pytest.mark.asyncio async def test_error_with_malformed_conn_str_async(self): # Arrange diff --git a/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py index 3e5788e8233a..34a5f7e609be 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py +++ b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos.py @@ -9,9 +9,11 @@ from devtools_testutils import AzureRecordedTestCase, recorded_by_proxy -from azure.data.tables import TableServiceClient, TableClient +from azure.data.tables._error import _validate_cosmos_tablename +from azure.data.tables import TableServiceClient, TableClient, TableTransactionError from azure.data.tables import __version__ as VERSION from azure.core.credentials import AzureNamedKeyCredential, AzureSasCredential +from azure.core.exceptions import HttpResponseError, ResourceNotFoundError from _shared.testcase import ( TableTestCase, @@ -107,6 +109,64 @@ def callback(response): count = 0 for table in tables: count += 1 + + @pytest.mark.live_test_only + @cosmos_decorator + @recorded_by_proxy + def test_table_name_errors_bad_chars(self, tables_cosmos_account_name, tables_primary_cosmos_account_key): + endpoint = self.account_url(tables_cosmos_account_name, "cosmos") + + # cosmos table names must be a non-empty string without chars '\', '/', '#', '?', and less than 255 chars. + invalid_table_names = ["\\", "//", "#", "?", "- "] + for invalid_name in invalid_table_names: + client = TableClient( + endpoint=endpoint, credential=tables_primary_cosmos_account_key, table_name=invalid_name) + with pytest.raises(ValueError) as error: + client.create_table() + assert "Table names names must contain from 1-255 characters" in str(error.value) + try: + with pytest.raises(ValueError) as error: + client.delete_table() + assert "Table names names must contain from 1-255 characters" in str(error.value) + except HttpResponseError as error: + # Delete table returns a MethodNotAllowed for tablename == "\" + if error.error_code != 'MethodNotAllowed': + raise + with pytest.raises(ValueError) as error: + client.create_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + assert "Table names names must contain from 1-255 characters" in str(error.value) + with pytest.raises(ValueError) as error: + client.upsert_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + assert "Table names names must contain from 1-255 characters" in str(error.value) + with pytest.raises(ValueError) as error: + client.delete_entity("PK", "RK") + assert "Table names names must contain from 1-255 characters" in str(error.value) + with pytest.raises(ValueError) as error: + batch = [] + batch.append(('upsert', {'PartitionKey': 'A', 'RowKey': 'B'})) + client.submit_transaction(batch) + assert "Table names names must contain from 1-255 characters" in str(error.value) + + @pytest.mark.live_test_only + @cosmos_decorator + @recorded_by_proxy + def test_table_name_errors_bad_length(self, tables_cosmos_account_name, tables_primary_cosmos_account_key): + endpoint = self.account_url(tables_cosmos_account_name, "cosmos") + + # cosmos table names must be a non-empty string without chars '\', '/', '#', '?', and less than 255 chars. + client = TableClient(endpoint=endpoint, credential=tables_primary_cosmos_account_key, table_name="-"*255) + with pytest.raises(ValueError) as error: + client.create_table() + assert "Table names names must contain from 1-255 characters" in str(error.value) + with pytest.raises(ResourceNotFoundError): + client.create_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + with pytest.raises(ResourceNotFoundError): + client.upsert_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + with pytest.raises(TableTransactionError) as error: + batch = [] + batch.append(('upsert', {'PartitionKey': 'A', 'RowKey': 'B'})) + client.submit_transaction(batch) + assert error.value.error_code == 'ResourceNotFound' class TestTableClientUnit(TableTestCase): @@ -478,17 +538,6 @@ def test_create_table_client_with_complete_url(self): assert service.table_name == 'bar' assert service.account_name == self.tables_cosmos_account_name - def test_create_table_client_with_invalid_name(self): - # Arrange - table_url = "https://{}.table.cosmos.azure.com:443/foo".format("cosmos_account_name") - invalid_table_name = "my_table" - - # Assert - with pytest.raises(ValueError) as excinfo: - service = TableClient(endpoint=table_url, table_name=invalid_table_name, credential="self.tables_primary_cosmos_account_key") - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long." in str(excinfo) - def test_error_with_malformed_conn_str(self): # Arrange @@ -577,3 +626,21 @@ def test_closing_pipeline_client_simple(self): table_name='table') service.close() + + def test_validate_cosmos_tablename(self): + _validate_cosmos_tablename("a") + _validate_cosmos_tablename("1") + _validate_cosmos_tablename("=-{}!@") + _validate_cosmos_tablename("a"*254) + with pytest.raises(ValueError): + _validate_cosmos_tablename("\\") + with pytest.raises(ValueError): + _validate_cosmos_tablename("/") + with pytest.raises(ValueError): + _validate_cosmos_tablename("#") + with pytest.raises(ValueError): + _validate_cosmos_tablename("?") + with pytest.raises(ValueError): + _validate_cosmos_tablename("a ") + with pytest.raises(ValueError): + _validate_cosmos_tablename("a"*255) diff --git a/sdk/tables/azure-data-tables/tests/test_table_client_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos_async.py index e39e1b0c2ae1..930136e5e451 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_client_cosmos_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_client_cosmos_async.py @@ -4,6 +4,7 @@ # license information. # -------------------------------------------------------------------------- from azure.core.credentials import AzureNamedKeyCredential, AzureSasCredential +from azure.core.exceptions import HttpResponseError, ResourceNotFoundError import pytest import platform @@ -11,7 +12,7 @@ from devtools_testutils.aio import recorded_by_proxy_async from azure.data.tables.aio import TableServiceClient, TableClient -from azure.data.tables import __version__ as VERSION +from azure.data.tables import __version__ as VERSION, TableTransactionError from _shared.asynctestcase import AsyncTableTestCase from _shared.testcase import SLEEP_DELAY @@ -101,6 +102,66 @@ def callback(response): count = 0 async for table in tables: count += 1 + + @pytest.mark.live_test_only + @cosmos_decorator_async + @recorded_by_proxy_async + async def test_table_name_errors_bad_chars(self, tables_cosmos_account_name, tables_primary_cosmos_account_key): + endpoint = self.account_url(tables_cosmos_account_name, "cosmos") + + # cosmos table names must be a non-empty string without chars '\', '/', '#', '?', and less than 255 chars. + invalid_table_names = ["\\", "//", "#", "?", "- "] + for invalid_name in invalid_table_names: + client = TableClient( + endpoint=endpoint, credential=tables_primary_cosmos_account_key, table_name=invalid_name) + async with client: + with pytest.raises(ValueError) as error: + await client.create_table() + assert "Table names names must contain from 1-255 characters" in str(error.value) + try: + with pytest.raises(ValueError) as error: + await client.delete_table() + assert "Table names names must contain from 1-255 characters" in str(error.value) + except HttpResponseError as error: + # Delete table returns a MethodNotAllowed for tablename == "\" + if error.error_code != 'MethodNotAllowed': + raise + with pytest.raises(ValueError) as error: + await client.create_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + assert "Table names names must contain from 1-255 characters" in str(error.value) + with pytest.raises(ValueError) as error: + await client.upsert_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + assert "Table names names must contain from 1-255 characters" in str(error.value) + with pytest.raises(ValueError) as error: + await client.delete_entity("PK", "RK") + assert "Table names names must contain from 1-255 characters" in str(error.value) + with pytest.raises(ValueError) as error: + batch = [] + batch.append(('upsert', {'PartitionKey': 'A', 'RowKey': 'B'})) + await client.submit_transaction(batch) + assert "Table names names must contain from 1-255 characters" in str(error.value) + + @pytest.mark.live_test_only + @cosmos_decorator_async + @recorded_by_proxy_async + async def test_table_name_errors_bad_length(self, tables_cosmos_account_name, tables_primary_cosmos_account_key): + endpoint = self.account_url(tables_cosmos_account_name, "cosmos") + + # cosmos table names must be a non-empty string without chars '\', '/', '#', '?', and less than 255 chars. + client = TableClient(endpoint=endpoint, credential=tables_primary_cosmos_account_key, table_name="-"*255) + async with client: + with pytest.raises(ValueError) as error: + await client.create_table() + assert "Table names names must contain from 1-255 characters" in str(error.value) + with pytest.raises(ResourceNotFoundError): + await client.create_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + with pytest.raises(ResourceNotFoundError): + await client.upsert_entity({'PartitionKey': 'foo', 'RowKey': 'foo'}) + with pytest.raises(TableTransactionError) as error: + batch = [] + batch.append(('upsert', {'PartitionKey': 'A', 'RowKey': 'B'})) + await client.submit_transaction(batch) + assert error.value.error_code == 'ResourceNotFound' class TestTableClientUnit(AsyncTableTestCase): @@ -468,18 +529,6 @@ async def test_create_table_client_with_complete_url_async(self): assert service.table_name == 'bar' assert service.account_name == self.tables_cosmos_account_name - @pytest.mark.asyncio - async def test_create_table_client_with_invalid_name_async(self): - # Arrange - table_url = "https://{}.table.cosmos.azure.com:443/foo".format("cosmos_account_name") - invalid_table_name = "my_table" - - # Assert - with pytest.raises(ValueError) as excinfo: - service = TableClient(endpoint=table_url, table_name=invalid_table_name, credential="self.tables_primary_cosmos_account_key") - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str(excinfo) - @pytest.mark.asyncio async def test_error_with_malformed_conn_str_async(self): # Arrange diff --git a/sdk/tables/azure-data-tables/tests/test_table_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_cosmos.py index ac2e73def004..4cf04a69f1e7 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_cosmos.py +++ b/sdk/tables/azure-data-tables/tests/test_table_cosmos.py @@ -191,41 +191,27 @@ def test_delete_table_with_non_existing_table_fail_not_exist(self, tables_cosmos ts = TableServiceClient(self.account_url(tables_cosmos_account_name, "cosmos"), credential=tables_primary_cosmos_account_key) table_name = self._get_table_reference() ts.delete_table(table_name) - - -class TestTableUnitTest(TableTestCase): - tables_cosmos_account_name = "fake_storage_account" - tables_primary_cosmos_account_key = "fakeXMZjnGsZGvd4bVr3Il5SeHA" - credential = AzureNamedKeyCredential(name=tables_cosmos_account_name, key=tables_primary_cosmos_account_key) - - def test_create_table_invalid_name(self): - # Arrange - ts = TableServiceClient(self.account_url(self.tables_cosmos_account_name, "cosmos"), credential=self.credential) - invalid_table_name = "my_table" - - with pytest.raises(ValueError) as excinfo: - ts.create_table(table_name=invalid_table_name) - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) - - def test_delete_table_invalid_name(self): + + @cosmos_decorator + @recorded_by_proxy + def test_create_table_underscore_name(self, tables_cosmos_account_name, tables_primary_cosmos_account_key): # Arrange - ts = TableServiceClient(self.account_url(self.tables_cosmos_account_name, "cosmos"), credential=self.credential) - invalid_table_name = "my_table" - - with pytest.raises(ValueError) as excinfo: - ts.create_table(invalid_table_name) - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) + ts = TableServiceClient(self.account_url(tables_cosmos_account_name, "cosmos"), credential=tables_primary_cosmos_account_key) + table_name = "my_table" - def test_unicode_create_table_unicode_name(self): + client = ts.create_table(table_name) + assert client.table_name == table_name + + ts.delete_table(table_name) + + @cosmos_decorator + @recorded_by_proxy + def test_create_table_unicode_name(self, tables_cosmos_account_name, tables_primary_cosmos_account_key): # Arrange - url = self.account_url(self.tables_cosmos_account_name, "cosmos") - ts = TableServiceClient(url, credential=self.credential) + ts = TableServiceClient(self.account_url(tables_cosmos_account_name, "cosmos"), credential=tables_primary_cosmos_account_key) table_name = u'啊齄丂狛狜' - # Act - with pytest.raises(ValueError): - ts.create_table(table_name) \ No newline at end of file + client = ts.create_table(table_name) + assert client.table_name == table_name + + ts.delete_table(table_name) diff --git a/sdk/tables/azure-data-tables/tests/test_table_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_cosmos_async.py index 33f8727a0311..f2c5632f5188 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_cosmos_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_cosmos_async.py @@ -198,46 +198,27 @@ async def test_delete_table_with_non_existing_table_fail_not_exist(self, tables_ ts = TableServiceClient(self.account_url(tables_cosmos_account_name, "cosmos"), credential=tables_primary_cosmos_account_key) table_name = self._get_table_reference() await ts.delete_table(table_name) - - -class TestTableUnitTest(AsyncTableTestCase): - tables_cosmos_account_name = "fake_storage_account" - tables_primary_cosmos_account_key = "fakeXMZjnGsZGvd4bVr3Il5SeHA" - credential = AzureNamedKeyCredential(name=tables_cosmos_account_name, key=tables_primary_cosmos_account_key) - - @pytest.mark.asyncio - async def test_unicode_create_table_unicode_name(self): - # Arrange - url = self.account_url(self.tables_cosmos_account_name, "cosmos") - ts = TableServiceClient(url, credential=self.credential) - table_name = u'啊齄丂狛狜' - - with pytest.raises(ValueError) as excinfo: - await ts.create_table(table_name=table_name) - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) - - @pytest.mark.asyncio - async def test_create_table_invalid_name(self): + + @cosmos_decorator_async + @recorded_by_proxy_async + async def test_create_table_underscore_name(self, tables_cosmos_account_name, tables_primary_cosmos_account_key): # Arrange - ts = TableServiceClient(self.account_url(self.tables_cosmos_account_name, "cosmos"), credential=self.credential) - invalid_table_name = "my_table" - - with pytest.raises(ValueError) as excinfo: - await ts.create_table(table_name=invalid_table_name) - - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) + ts = TableServiceClient(self.account_url(tables_cosmos_account_name, "cosmos"), credential=tables_primary_cosmos_account_key) + table_name = "my_table" - @pytest.mark.asyncio - async def test_delete_table_invalid_name(self): + client = await ts.create_table(table_name) + assert client.table_name == table_name + + await ts.delete_table(table_name) + + @cosmos_decorator_async + @recorded_by_proxy_async + async def test_create_table_unicode_name(self, tables_cosmos_account_name, tables_primary_cosmos_account_key): # Arrange - ts = TableServiceClient(self.account_url(self.tables_cosmos_account_name, "cosmos"), credential=self.credential) - invalid_table_name = "my_table" - - with pytest.raises(ValueError) as excinfo: - await ts.create_table(invalid_table_name) + ts = TableServiceClient(self.account_url(tables_cosmos_account_name, "cosmos"), credential=tables_primary_cosmos_account_key) + table_name = u'啊齄丂狛狜' - assert "Table names must be alphanumeric, cannot begin with a number, and must be between 3-63 characters long.""" in str( - excinfo) + client = await ts.create_table(table_name) + assert client.table_name == table_name + + await ts.delete_table(table_name)