Closed Ndz85 closed 1 year ago
V3 is the problem, pyodata at the moment supports only V2 odata protocol. Lots of things are backward compatible with V2, but some incompatible changes are there.
Out of curiosity, could you paste the $metadata for the service and the json response for the:
service.entity_sets.Jobs.get_entities().select('Location').execute()
Or you may directly provide failing test - check this one as a base: https://github.com/SAP/python-pyodata/blob/66b3847b80ba17e243763b152a1ccbc82f620500/tests/test_service_v2.py#L2082
Just providing the code that creates the error is not something that I can reproduce locally.
Since it got through the initial metadata parsing, I would like to check if you by accident uncover bug that would be present in odata V2 service as well.
Just glancing over V3 spec, the __next field should be in the JSON response similarly to V2 version - https://www.odata.org/documentation/odata-version-3-0/json-verbose-format/.
Hi @Ndz85 I am closing this issue due impossibility to reproduce and inactivity from your side. If you return to this with code that reproduces the problem, please reopen.
I get this error when following the next_url code. V3