Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by Vladimir Razumov · Dec 03, 2020 at 02:42 AM · CloudScriptFriends

GetFriendsList critical error

Recently we have been cleaning inactive players by removing them through server api using DeletePlayer on a each player of a segment. But some active players have these removed inactive players in friends list. And now when we call GetFriendsList from server api, players with removed friends have an internal server error. Please fix it asap because we cannot even remove these removed players from friends list because of this bug.

at Object.server_request (Script:180:24) at

Object.server.GetFriendsList (Script:526:71)

Comment

People who like this

0 Show 5
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rick Chen · Dec 03, 2020 at 10:00 AM 0
Share

The reason could be that the players are still in the process of deletion, as you deleted massive players at once. I will report to the corresponding team about this issue and inform you when there is any update. Your patience is appreciated.

avatar image Rick Chen · Dec 03, 2020 at 10:12 AM 0
Share

Could you please provide your title id for us to diagnose?

avatar image Vladimir Razumov Rick Chen · Dec 03, 2020 at 12:59 PM 0
Share

4F51

deletion process has ended days ago

avatar image Rick Chen Vladimir Razumov · Dec 08, 2020 at 08:43 AM 0
Share

I cannot reproduce the issue that you describe. We notice that in November you deleted 10th thousands of players and yesterday 4 thousands. Could you please try again and see if the issue still occur? If yes, please provide the playfabId that could receive this error.

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Rick Chen · Dec 10, 2020 at 06:55 AM

We’ve checked the events in your title, they are all successful.

Since we cannot reproduce the issue and it is related to server API, the PlayFab community cannot handle this issue, please use the support ticket instead.

You could submit a support ticket from:

  1. Log in to PlayFab.com.
  2. Navigate to the Title Overview page of the title needing support.
  3. To access the help menu, select the ? in the top right navigation bar.
  4. Select Contact Us.

For more detail, please refer to: https://docs.microsoft.com/en-us/gaming/playfab/features/pricing/paidtechnicalsupport#support-ticket-submission

We apologize for the confusion from the conversation and the inconvenience for your project.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Vladimir Razumov · Dec 24, 2020 at 02:41 AM

We have some more descriptive error:

{"cloudScriptErrorCode":"CloudScriptAPIRequestError","stack":"Error\n    at Object.server_request (Script:180:24)\n    at Object.server.GetFriendsList (Script:526:71)\n    at handlers.GetAndCheckFriendsList (4F51-main.js:2853:30)\n    at Object.invokeFunction (Script:116:33)","apiErrorInfo":{"api":"/Server/GetFriendsList","request":{"PlayFabId":"C02265F96221C914"},"result":null,"apiError":{"code":400,"status":"BadRequest","error":"FacebookAPIError","errorCode":1143,"errorMessage":"Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.","errorHash":null,"errorDetails":null}}}
Comment

People who like this

0 Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rick Chen · Dec 24, 2020 at 07:52 AM 0
Share

The player was querying for Facebook data through PlayFab, but don’t have a valid Facebook token, which caused this error. Please use the LoginWithFacebook API to update the Facebook token in PlayFab first.

Please refer to this thread: https://community.playfab.com/questions/16636/cloud-script-getfriendslist-facebook-token-expired.html

avatar image

Answer by Vladimir Razumov · Dec 29, 2020 at 01:25 AM

The problem is that this error prevents to get ALL friends. Not from facebook. So player see no friends at all.

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vladimir Razumov · Dec 28, 2020 at 02:06 PM 0
Share

And this error occurs even there is no facebook account linked.

avatar image Rick Chen Vladimir Razumov · Dec 29, 2020 at 07:57 AM 0
Share

We could not reproduce the issue, and the PlayFab community cannot handle this issue. Please use the support ticket as mentioned earlier. Apologize for the inconvenience.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Add Friend in CloudScript Issues 1 Answer

    RemoveFriend is not always working 2 Answers

    GetFriendsList not returning FriendTags. 1 Answer

    Server API - Possible Bug: You only get Friend tags with the GetFriendList call if the parameter ProfileConstraints is null 1 Answer

    GetFriendsList not returning Steam friends 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges