question

georg avatar image
georg asked

Getting InvalidDropTable when calling EvaluateRandomResultTable

Hey,

I'm getting a 1201 error (InvalidDropTable) when calling EvaluateRandomResultTable in CloudScript. I searched and couldn't really find anything that would explain this in more details. I checked and the TableId is spelled right, all Items are still in the Catalog. Here's my code:

var random_request = { TableId: "GeneralGear" }

server.EvaluateRandomResultTable(random_request)

Anything I'm missing?

Thanks!

apissdksCloudScript
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

What Title ID is it that you're testing in this case? If you're only specifying the TableId, can you check that the Catalog in question is set as the Primary Catalog for the title?

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

georg avatar image georg commented ·

It's not, apologies, I forgot to add the catalog version to the parameters... My bad, error is gone now.

0 Likes 0 ·
brendan avatar image brendan georg commented ·

No worries! Glad you're un-blocked. Let us know if you run into any other issues.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.