MagicTheGathering / mtg-sdk-dotnet

Magic: The Gathering SDK - C#.NET
MIT License
63 stars 22 forks source link

API does not seem to work, Error Message incomplete #83

Open czioutas opened 6 months ago

czioutas commented 6 months ago

I have been using the API for a few weeks now and today after a hiatus it seems to not be working. The exception message is also incomplete "MTG Api Error, "

image

My code is fairly simple and calling the API directly via Postman works without any issues. I thought maybe I am banned or something but does not seem so.

var result = await _cardService .Where(x => x.PageSize, count) .Where(x => x.Page, page) .AllAsync();

czioutas commented 6 months ago

The plot thickenss. The queries used to throw an exception after like 30 seconds or so but now they are instant. Same error message.

czioutas commented 6 months ago

Seems to be working now - I will leave this open in case you are interested to check why it happened and why the library did not provide any other error context.