sportradar / UnifiedOddsSdkNetCore

UnifiedFeed SDK is a client library that enables easier integration with the Betradar XML feeds. SDK exposes XML feed service interface in a more user-friendly way and isolates the client from having to do XML feed parsing, proper connection handling, error recovery, event queuing, data caching and dispatching.
https://sportradar.github.io/UnifiedOddsSdkNetCore/
Other
17 stars 14 forks source link

Issues with competitor retrieval since upgrading to version 2.0.0 #33

Open vedrantrebovic opened 9 months ago

vedrantrebovic commented 9 months ago

SdkEnvironment: GlobalIntegration Sdk version: 2.0.0

This keeps happening since we updated to v 2.0.0 (both rc and release) for some matches.

2023-11-02 14:38:40.552 +01:00 [ERR] Error getting sport event summary for id=sr:match:42188223 and language:[en]. Message=Failed to execute request due to previous failures. Sportradar.OddsFeed.SDK.Common.Exceptions.CommunicationException: Failed to execute request due to previous failures. at Sportradar.OddsFeed.SDK.Api.Internal.ApiAccess.HttpDataFetcher.ValidateConnection(Uri uri) at Sportradar.OddsFeed.SDK.2023-11-02 14:38:41.988 +01:00 [ERR] An error occurred while generating the name for item=[ MarketId=1 Specifiers=[null] OutcomeId=1] Culture=en Retrieved nameDescriptor=[{$competitor1}]. AdditionalMessage=Error occurred while evaluating the name expression Sportradar.OddsFeed.SDK.Common.Exceptions.NameExpressionException: No home competitor found. Operand competitor1 is not supported [sr:match:41893157]. Supported operands are: competitor1, competitor2 at Sportradar.OddsFeed.SDK.Entities.Rest.Internal.MarketNames.EntityNameExpression.GetHomeCompetitor(CultureInfo culture) at Sportradar.OddsFeed.SDK.Entities.Rest.Internal.MarketNames.EntityNameExpression.BuildOperandNameAsync(CultureInfo culture) at Sportradar.OddsFeed.SDK.Entities.Rest.Internal.MarketNames.EntityNameExpression.BuildNameAsync(CultureInfo culture) at Sportradar.OddsFeed.SDK.Entities.Rest.Internal.MarketNames.NameProvider.GetOutcomeNameAsync(String outcomeId, CultureInfo culture)