oddin-gg / netcoresdk

BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

competitorProfileEndpoint unkown Node and Element: Sport #6

Open Seuntjie900 opened 3 years ago

Seuntjie900 commented 3 years ago

Started occasionally receiving the following errors today:

[Oddin.OddsFeedSdk.API.Models.competitorProfileEndpoint] Unknown Node:sport  
[Oddin.OddsFeedSdk.API.Models.competitorProfileEndpoint] Unknown Element:sport |

I could not identify from the logs whether it was related to a specific event, if it was time based or something else. It did not seem to be time based because there were occurrences spaced several hours apart, but I cannot be certain.

Seuntjie900 commented 3 years ago

We're still getting these errors and it is frequently affecting effectively saving changes to an event.

We're now also getting the following:

[Oddin.OddsFeedSdk.API.Models.FixturesEndpointModel] Unknown Node:language  zh
[Oddin.OddsFeedSdk.API.Models.FixturesEndpointModel] Unknown attribute language='zh'
[Oddin.OddsFeedSdk.API.Models.FixturesEndpointModel] Unknown Node:language  en
[Oddin.OddsFeedSdk.API.Models.FixturesEndpointModel] Unknown attribute language='en'
michal-fuleky commented 3 years ago

This messages are only displayed when using debug build of the SDK. They are only warnings that some parts of the received message are not included in the model and are ignored. In the next version we'll add more info to these messages so that we can tell what specific part of the message is not included in the model. Nonetheless, this has no effect on SDK itself because if the property is not in the model we are not expecting it, therefore it's not mapped to an interface anyway.