question

Lheo Mendoza avatar image
Lheo Mendoza asked

GetTitleData using JavaScript returns an 'Uncaught errorLoggedIn'

```
	PlayFab.ClientApi.GetTitleData(
            {'Keys':['Rewards']},
            (result,error)=>{
                if(result !==null){
                    sample_data = result;
                    Console.log('Success!'+ result);
                }

                else if(error!==null){
                    Console.log('Something went wrong'+ PlayFab.GenerateErrorReport(error));
                }
            }
            
        );



```




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

Seth Du avatar image Seth Du ♦ commented ·

May I ask which SDK you have implemented? Can you share more detailed codes?

In addition, which line does this error throw?

In Node.js, we will use PlayFabClient.GetTitleData to call the API.

0 Likes 0 ·

0 Answers

·

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.