Anyone know how I would check a long list of shirt/pants ids and it automatically say which is deleted/not working?

I have a very long list of shirt/pants ID’s and want some way to check all the ID’s and then spit out in console every ID that has an asset that is deleted/not working…

How would I check the long list of ID’s to tell me which are not working?

This is my list:
Pants:

915521963,876868526,632066196,559150559,842226364,884403062,864519362,905099159,873180952,590762770,495785833,904136933,563153970,878570985,850149459,578445373,583732678,904135075,813952116,217745667,552481137,577438134,917895625,916172932,913320795,485382434,450723764,917890982,842205452,577468032,918348401,918345974,917993325,846678539,846706317,843523386,838078995,645147040,609834920,497296693,479886978,100774850,479926779,479910136,414759731,414791507,419646130,419670449,414826048,913320795,884403062,916172932,559150559,577468032,590762770,495785833,915521963,909897196,493515441,470386857,912353691,888119019,640421023,392213892,814607628,830615045,268954537,871760164,564085171,903955191,112675728,107014061,917551504,842205452,834316991,839431989,495464303,733274215,850149459,878570985,578445373,577438134,887953018,891322175,540766364,318411973,864519362,884403062,842226364,926415401,905877779,255263987,564085171,848836193,921563900,127321191,947488104,941741123,961600183,929485581,926829456,882932167,190386248,172189720,827832111,784176798,956980961,979405812,917278496,986236807,682632195,987811107,950791909,980893973,829897534,835417968,917412849,471925148,806373663,935554838,1001756733,591115783,940907253,976908186,1077284924,1029989341,1067823510,613056339,1074352721

Shirts:
632065707,566743904,866570429,899418418,885797608,899418626,543795946,872793952,915137807,629668725,846557398,324356887,552515338,918116164,519851580,916169858,870172834,329684005,476835969,862999925,896999396,758585564,871054222,848074725,917402561,912066842,832135614,575732309,608174537,871768754,848074725,46968300,109292107,304632975,710845139,893987326,877890992,609918217,453710886,438156491,419959705,419970490,419970875,423784799,192160753,191690000,189184563,189185085,191670061,191281645,189726896,183285644,179331757,183285952,170759697,146884004,145461273,885441737,895121405,895121891,148221320,338702659,912066842,608174537,589435049,753189996,606460845,917279185,518709364,473498011,910510512,868212784,304632975,917503467,934706478,758585564,694758507,694875937,629668725,476835969,884785101,543795946,862999925,931497942,796848015,915705876,845734725,689999652,762176217,933633134,832135614,933633409,929541437,931913132,845831682,601984213,144505133,711365720,922701261,882411502,911582169,625149035,333022418,605194311,669161889,870056209,834349475,636249175,710845139,638487442,762137006,974634133,987808112,728461620,956974749,862999925,908054130,933773269,955340131,593378062,591177281,975559792,1001838844,959909816,979213604,936235929,1073343768,856076145,1075272060,538883788,1035314461,1070634099,1062732089

I think the best you can do is use MarketplaceService:GetProductInfo() on every id and check if its name is equal to [ Content Deleted ]. Watch out for ratelimits though.

local working = {}
for i,v in pairs(ids) do
    if game:GetService("MarketplaceService"):GetProductInfo(v).Name ~= "[ Content Deleted ]" then
        table.insert(working, v)
    end
end

That being said, here’s a list of all working ids from the ones you provided obtained using the code above:

Pants

915521963,842226364,884403062,864519362,905099159,873180952,495785833,904136933,563153970,850149459,578445373,583732678,904135075,217745667,552481137,577438134,917895625,916172932,913320795,485382434,450723764,917890982,842205452,577468032,918348401,918345974,917993325,846678539,846706317,843523386,838078995,645147040,609834920,497296693,479886978,100774850,479926779,479910136,414759731,414791507,419646130,419670449,414826048,913320795,884403062,916172932,577468032,495785833,915521963,909897196,493515441,470386857,912353691,640421023,392213892,814607628,830615045,268954537,871760164,564085171,903955191,112675728,107014061,917551504,842205452,839431989,495464303,733274215,850149459,578445373,577438134,887953018,891322175,540766364,318411973,864519362,884403062,842226364,926415401,905877779,255263987,564085171,848836193,921563900,127321191,947488104,941741123,961600183,929485581,926829456,882932167,190386248,172189720,827832111,784176798,956980961,979405812,917278496,986236807,682632195,987811107,950791909,980893973,829897534,835417968,917412849,471925148,806373663,935554838,1001756733,591115783,940907253,976908186,1077284924,1029989341,1067823510,613056339,1074352721

Shirts

632065707,566743904,866570429,885797608,899418626,872793952,915137807,629668725,846557398,324356887,552515338,918116164,519851580,916169858,870172834,329684005,476835969,862999925,896999396,871054222,848074725,917402561,912066842,832135614,575732309,608174537,871768754,848074725,46968300,109292107,304632975,710845139,893987326,877890992,609918217,453710886,438156491,419959705,419970490,419970875,423784799,192160753,191690000,189184563,189185085,191670061,191281645,189726896,183285644,179331757,183285952,170759697,146884004,145461273,885441737,895121405,895121891,148221320,338702659,912066842,608174537,589435049,753189996,606460845,917279185,518709364,473498011,910510512,868212784,304632975,917503467,934706478,694758507,694875937,629668725,476835969,884785101,862999925,931497942,796848015,915705876,845734725,689999652,762176217,933633134,832135614,933633409,929541437,931913132,845831682,601984213,144505133,711365720,922701261,882411502,911582169,625149035,333022418,605194311,669161889,870056209,834349475,636249175,710845139,638487442,762137006,974634133,987808112,728461620,956974749,862999925,908054130,933773269,955340131,593378062,591177281,975559792,1001838844,959909816,979213604,936235929,1073343768,856076145,1075272060,538883788,1035314461,1070634099,1062732089

(btw you have some duplicates)

1 Like

915521963 is an duplicate,842226364 also is an duplicate,884403062 has 3 duplicates,864519362 also is an duplicate and etc,probably almost every is an duplicate.

1 Like