question

Phil Woods avatar image
Phil Woods asked

WriteTelemetryEvents failing with error "Only title can update the rank object"

Hi,

Telemetry stopped working in our game at approximately UTC 1900 on the 30th of Jan.

The function we are using is PlayFab::UPlayFabEventsAPI::WriteTelemetryEvents and we are using the UE C++ plugin: 1.80.220406.

We are getting the following error on the client: "NotAuthorized". Along with the error message of: "The claim was not allowed to perform the requested action based on the entity's access policy. Policy comment: Only title can update the rank object"

Telemetry sent on the server is working okay and so too is any telemetry generated internally by the PlayFab libraries.

As far as we know, we have not changed any of our group policies.

Does anyone know why we have started getting an error when trying to send telemetry?

What can we do to fix the error?

Thanks,

Phil.

apisunreal
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

·
Xiao Zha avatar image
Xiao Zha answered

On January 29th, PlayFab had a Telemetry-related incident that may have caused the issues you encountered, but it has now been fixed. And I tested WriteTelemetryEvents on the client using the latest version of PlayFab UE plug-in, and it is normal. You can try updating the plugin to the latest version to see if the problem persists.

And since the error message mentions that the entity access policy is causing the problem, you can also get the Entity Policy through the GetGlobalPolicy API and double check the entity access policy to see if there have policies below configured by the title. If so, you may change the policies to target "*!*/Profile/Objects/Rank" instead of "*![SELF]/Profile/Objects/Rank".

 {
     "Action": "Write",
     "Effect": "Deny",
     "Resource": "pfrn:data--*![SELF]/Profile/Objects/Rank",
     "Principal": "*",
     "Comment": "Only title can update the rank object",
     "Condition": {
       "CallingEntityType": "title_player_account"
     }
   },
   {
     "Action": "Write",
     "Effect": "Deny",
     "Resource": "pfrn:data--*![SELF]/Profile/Objects/Rank",
     "Principal": "*",
     "Comment": "Only title can update the rank object",
     "Condition": {
       "CallingEntityType": "master_player_account"
     }
   },
   {
     "Action": "Write",
     "Effect": "Deny",
     "Resource": "pfrn:data--*![SELF]/Profile/Objects/Rank",
     "Principal": "*",
     "Comment": "Only title can update the rank object",
     "Condition": {
       "CallingEntityType": "character"
     }
   }
1 comment
10 |1200

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

Phil Woods avatar image Phil Woods commented ·

Thanks for the quick reply.

Replacing '[SELF]' with '*' looks to have fixed our issue.

Unfortunately we have lost over 6 days worth of telemetry, is there anyway to recover the lost telemetry?

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.