Making UseStockGetFile "true" gives me a 429 error
bombehjort opened this issue · comments
Whenever i try to update prices or view inventory, it only works when i have UseStockGetFile "false". or else i get a 429 error. Any fixes? I only want to work with magic cards, and the "games" setting don't work if UseStockGetFile is false.
429 is Too Many Requests. If you still have requests left (they are shown at the bottom of MKMTool as "Api requests made/allowed"), then it must be some error or wrong response code on their part, so you would need to contact the support and tell them that you get that response for
GET https://api.cardmarket.com/ws/v2.0/stock/file?idGame=1
I think if you reduce ArticleCountFetched in your config file to 100 or less it should be ok.
There have been a change in the API that articles have to be fetched in batches of at most 100, used to be 1000. I will publish a fix later that allows more (up to 1000), but it also means that there is 1 API request for each 100
Fixed in 656e1fd