INFO:pyodata.client:Fetching metadata Starting new HTTPS connection (1): api.sap.com:443 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.sap.com:443 https://api.sap.com:443 "GET /odata/1.0/catalog.svc/$metadata HTTP/1.1" 200 None DEBUG:urllib3.connectionpool:https://api.sap.com:443 "GET /odata/1.0/catalog.svc/$metadata HTTP/1.1" 200 None DEBUG:pyodata.client:Retrieved the response: H: Cache-Control: private H: Expires: Thu, 01 Jan 1970 00:00:00 GMT H: X-XSS-Protection: 1; mode=block H: Set-Cookie: JSESSIONID=6B83A3EB9C3495AB62D95BB960909BB4BEF18BAE576C612D54E8E6E9103788D2; Path=/; Secure; HttpOnly; SameSite=None, BIGipServercontentcontenthubeu1.factory.customdomain=!ScAeAUg3ai1t9Vhl3wqwDvMjD5TPABjkeuhZCUZyF9gnC7o0PEU28UVHD5pLE5BU0Zmwso9BzbZ8yQQ=; path=/; Httponly; Secure;SameSite=None H: DataServiceVersion: 1.0 H: Content-Type: application/xml;charset=utf-8 H: Transfer-Encoding: chunked H: Date: Tue, 20 Jul 2021 11:49:30 GMT H: Keep-Alive: timeout=20 H: Connection: keep-alive H: Server: SAP H: Strict-Transport-Security: max-age=31536000; includeSubDomains; preload b'' INFO:pyodata.client:Creating OData Schema (version: 2) INFO:pyodata.client:Creating OData Service (version: 2) DEBUG:pyodata.service:New entity set proxy instance for OrgDetails DEBUG:pyodata.service:New entity set proxy instance for OrgUsers DEBUG:pyodata.service:New entity set proxy instance for Users DEBUG:pyodata.service:New entity set proxy instance for ContentPackages DEBUG:pyodata.service:New entity set proxy instance for Artifacts DEBUG:pyodata.service:New entity set proxy instance for Urls DEBUG:pyodata.service:New entity set proxy instance for Files DEBUG:pyodata.service:New entity set proxy instance for MediaLinks DEBUG:pyodata.service:New entity set proxy instance for Products DEBUG:pyodata.service:New entity set proxy instance for Assets DEBUG:pyodata.service:New entity set proxy instance for Partners DEBUG:pyodata.service:New entity set proxy instance for Scenarios DEBUG:pyodata.service:New entity set proxy instance for ScenarioModels DEBUG:pyodata.service:New entity set proxy instance for Attachment DEBUG:pyodata.service:New entity set proxy instance for BusinessRules DEBUG:pyodata.service:New entity set proxy instance for CdsViews DEBUG:pyodata.service:New entity set proxy instance for DataHub DEBUG:pyodata.service:New entity set proxy instance for Process DEBUG:pyodata.service:New entity set proxy instance for BRProject DEBUG:pyodata.service:New entity set proxy instance for VisibilityScenario DEBUG:pyodata.service:New entity set proxy instance for IOTBridgeConfigurations DEBUG:pyodata.service:New entity set proxy instance for Events DEBUG:pyodata.service:New entity set proxy instance for APIs DEBUG:pyodata.service:New entity set proxy instance for PolicyTemplates DEBUG:pyodata.service:New entity set proxy instance for Comments DEBUG:pyodata.service:New entity set proxy instance for Ratings DEBUG:pyodata.service:New instance of QueryRequest for last segment: APIs DEBUG:pyodata.service:Send (execute) GET request to https://api.sap.com/odata/1.0/catalog.svc/APIs DEBUG:pyodata.service: query params: {} DEBUG:pyodata.service: headers: {'Accept': 'application/json'} https://api.sap.com:443 "GET /odata/1.0/catalog.svc/APIs HTTP/1.1" 200 None DEBUG:urllib3.connectionpool:https://api.sap.com:443 "GET /odata/1.0/catalog.svc/APIs HTTP/1.1" 200 None DEBUG:pyodata.service:Received response DEBUG:pyodata.service: url: https://api.sap.com/odata/1.0/catalog.svc/APIs DEBUG:pyodata.service: headers: {'Cache-Control': 'private, no-cache, no-store, must-revalidate', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'P3P': 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"', 'set-cookie': 'mdsoucrsbpfnijhbepbnyklicvze=4JdupYAIFA9SFgv5bLJwvv97UBuAUzef53i63rv%2B9nm1xQ4ctQ7jBiXnQJXIGzp0r0xEzx1AyEUwLyNBGVAhkyAtg4dFQJgj5tFwYa8ddbZp7Ecoqh3DyJuwu1h6a5w7Otz81xOdhlImSs8%2F69rxWPq%2BmRHj5WXVTjVUmNCoQnAd6mu%2FqAa2n2tHRsogUqhlMH90N43%2Fj5LBKI%2BuHRVnTqOM%2FLeaapEOnlEogblky1sDRVMYDJ7PqHGL9yXBJnG5UfhJgKZRUEoSqBUn2lCPpWwBeiGr7I1M2tYqvV%2BNIHhiWkqEMqc4wFLCEvDPV%2FXCNMHnL1v8TfXn9XOMtduEHhcuQ2RnmhvDefixfBHzsf8%3D; Path=/; Secure; SameSite=None; HttpOnly', 'Pragma': 'no-cache', 'com.sap.cloud.security.login': 'login-request', 'vary': 'accept-encoding', 'Content-Encoding': 'gzip', 'Content-Type': 'text/html;charset=utf-8', 'Transfer-Encoding': 'chunked', 'Date': 'Tue, 20 Jul 2021 11:49:37 GMT', 'Keep-Alive': 'timeout=20', 'Connection': 'keep-alive', 'Server': 'SAP', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload'} DEBUG:pyodata.service: status code: 200 DEBUG:pyodata.service: body:

Traceback (most recent call last): File "C:\Users\d028268\OneDrive - SAP SE\Documents\oData_API_SAP.py", line 32, in client.entity_sets.APIs.get_entities().execute() File "C:\Users\d028268\AppData\Local\Programs\Python\Python39\lib\site-packages\pyodata\v2\service.py", line 333, in execute return self._handler(response) File "C:\Users\d028268\AppData\Local\Programs\Python\Python39\lib\site-packages\pyodata\v2\service.py", line 1397, in get_entities_handler content = response.json() File "C:\Users\d028268\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 900, in json return complexjson.loads(self.text, **kwargs) File "C:\Users\d028268\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\d028268\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\d028268\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) > c:\users\d028268\appdata\local\programs\python\python39\lib\json\decoder.py(355)raw_decode() -> raise JSONDecodeError("Expecting value", s, err.value) from None (Pdb)