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 /
  • API and SDK Questions /
avatar image
Question by Dmitrii Osipov · Apr 27, 2018 at 09:48 PM · CloudScriptapisentities

Cloud Script Entities. Get title objects of player

so. I tried to get objects for cloud script caller, but server has returned error

{"api":"/Object/GetObjects","request":{"Entity":{"Id":"9F7B1E70CE2BAB83","type":"title_player_account"}},"result":null,"apiError":{"code":400,"status":"BadRequest","error":"ProfileDoesNotExist","errorCode":1298,"errorMessage":"No
 title_player_account profile found at 
9F7B1E70CE2BAB83","errorHash":null,"errorDetails":{}}}

i have read an entity tutotial and there are thing called "titlePlayerId", but it is not defined anywhere in cloud script and i have no imagine how to get it there

also is there cloud script api reference? or where can i find sources or anything that can help me develop it?

Title id also 9EC4.

Thanks for an answer!

Comment

People who like this

0 Show 0
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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Apr 30, 2018 at 05:23 PM

[Edit - corrected]

This was actually more confusing than it needed to be, so I've updated the tutorial (https://api.playfab.com/docs/tutorials/entities/getting-started-entities) to clarify.

The Master Player ID is the PlayFab ID you get back from calls to log in or to GetAccountInfo. The Entity ID for the player at the title level is returned from any login call where you set LoginTitlePlayerAccountEntity to true.

For Cloud Script, it's simply JavaScript, with the addition of the ability to call any Server API method. There are also a few built-in variables you can make use of - it's all detailed in our Cloud Script tutorial in our automation tutorials: https://api.playfab.com/docs/tutorials#landing-automation.

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

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

    No one has followed this question yet.

    Related Questions

    Sending Telemetry events from Server 1 Answer

    Cloudscript returning NULL in Response 1 Answer

    How to check if User is part of a group at the same time when using ListMembership function 2 Answers

    Using Object - Set Objects via Cloudscript - numbers are always converted to booleans 1 Answer

    [SERVER or Cloud Script] Retrieving Server CustomData or Tags without Client.GetCurrentGames 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