question

meta avatar image
meta asked

Error occurred when running action GrantVirtualCurrencyAction

Hello,

I have prize table for a leaderboard. Now there is a problem that for some players Grant Virtual Currency Action is failing with message "Error occurred when running action GrantVirtualCurrencyAction".

Please check Event with ID B952E90A91C7E782 and you will see this. Is it possible to fix this problem please?

Leaderboards and Statistics
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.

Xiao Zha avatar image Xiao Zha commented ·

Could you please provide your TitleId and the problematic player accounts for our research?

0 Likes 0 ·
meta avatar image meta Xiao Zha commented ·

Title ID: 9FCD9
Player Account: B952E90A91C7E782

Same happened on todays leaderboard reset.


"EventId": "a1c02f9eb609415ca5048d97d762d70d",
"EntityId": "B952E90A91C7E782",
"TitleId": "9FCD9",
"ExecutionDuration": 15.6897, "Error": { "Message": "Error occurred when running action GrantVirtualCurrencyAction" }
0 Likes 0 ·
meta avatar image
meta answered

Same happens every day for multiple users. Please help!

10 |1200

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

meta avatar image
meta answered
    "Timestamp": "2022-12-01T00:10:41.2662122Z",
    "EntityType": "player",
    "SourceType": "BackEnd",
    "EventName": "player_action_executed",
    "EventId": "0c18d200507a464183948190c2901500",
    "EntityId": "DA9DF3A2ADDD52C1",
    "TitleId": "9FCD9",
    "Source": "PlayFab",
    "TriggeringEventRuleMatch": {
        "EventId": "15461f2c08c04bfcb0e78b85441230c5",
        "RuleId": "516F2FBBCB1AFC0F"
    },
    "TriggeredTimestamp": "2022-12-01T00:03:53.0908036Z",
    "ScheduledTimestamp": "2022-12-01T00:10:41.2659035Z",
    "ExecutionDuration": 16.9813,
    "Error": {
        "Message": "Error occurred when running action GrantVirtualCurrencyAction"
10 |1200

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

meta avatar image
meta answered

How is that possible no to get any support for 3 days with such a critical problem?

3 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.

Xiao Zha avatar image Xiao Zha commented ·

Sorry for the late reply. As a workaround, you can use Execute Could Script Action to execute a CloudScript, in which you can call Add user Virtual Currency API to grant virtual currency to players.

0 Likes 0 ·
meta avatar image meta Xiao Zha commented ·

but whats the point for me to do it manually if there is function provided by playfab for leaderboard? its error on your side thats needs to be fixed and not for us to implement completly new functionality to solve this problem.

0 Likes 0 ·
Xiao Zha avatar image Xiao Zha meta commented ·

Since the GrantVirtualCurrency Action in the prize table was not working before, that’s why we have provided you with an alternative method that does work. Now the problem that appeared in my test seems to be fixed, you can check if the issue still exists in your Title.

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.