of     1   

marketmanager1
#221202295Thursday, July 13, 2017 9:57 AM GMT

11:55:08.308 - Internal error while fetching asset type because MarketplaceService:getProductInfo() failed because #### 0 ##### 429 ######### 429 Please retry after a few minutes)) (x2) That's the error that i always get. How can i fix that? Thanks, Market
marketmanager1
#221202342Thursday, July 13, 2017 9:59 AM GMT

11:55:08.308 - Internal error while fetching asset type because MarketplaceService:getProductInfo() failed because # T T P ( # T T P 4 2 9 ( # T T P / 1 . # # # # # # e a s e r e t r y a f t e r a f e w m i n u t e s ) ) ( x 2 ) I added some spaces, so let's hope it wont be tagged now
marketmanager1
#221202394Thursday, July 13, 2017 10:01 AM GMT

When i hover over the error, it says source not available
DevJoas
#221204664Thursday, July 13, 2017 11:30 AM GMT

You are making too many requests per minute. Check for a unintended loop in your code.
marketmanager1
#221206203Thursday, July 13, 2017 12:17 PM GMT

Aha, Ill take a look! Btw thanks for your reply! Regards, Jonas
marketmanager1
#221206402Thursday, July 13, 2017 12:23 PM GMT

[REDACTED]
marketmanager1
#221206425Thursday, July 13, 2017 12:24 PM GMT

Hmm, i cannot find any loop... Can you see what's wrong? Client script: local productId = 86797326 local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer, productId) end) ---------------------------------------------------------------------------- server script: local MarketplaceService = game:GetService("MarketplaceService") local ds = game:GetService("DataStoreService"):GetDataStore("PurchaseHistory") local productId = 86797326 game.Players.PlayerAdded:connect(function() print("start") local DeveloperProducts = game:GetService("MarketplaceService"):GetDeveloperProductsAsync():GetCurrentPage() for _, DevProductContainer in pairs(DeveloperProducts) do for Field, Value in pairs(DevProductContainer) do print(Field .. ": " .. Value) end print(" ") end print("end") end) MarketplaceService.ProcessReceipt = function(receiptInfo) for i, player in ipairs(game.Players:GetChildren()) do if player.userId == receiptInfo.PlayerId then if receiptInfo.ProductId == productId then local amount = player.leaderstats.Cash.Value + 10000 ############################# = ############################# + 10000 wait(1) if player.leaderstats.Cash.Value >= amount then return Enum.ProductPurchaseDecision.PurchaseGranted end end end end end
DevJoas
#221215789Thursday, July 13, 2017 3:43 PM GMT

Is there any other code running in your place? There does not seem to be much wrong with the snippet you are providing here (I scimmed over it really quickly) .

    of     1