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 studioalfredwalker · Oct 15, 2017 at 01:05 AM · Title DataContent

Cannot upload json for title data of content.

Hi, I'm having a problem with uploading json file for title data.

I tried to upload all kinds of json files I have(including empty file), but always same error cames out:

"There was an error parsing your file. Please check your JSON syntax."

I attach one of those json:

{"TEST":{"GROUP_ID":1}}

I also validated json via below site, but there was no syntax errors.

(https://jsonformatter.curiousconcept.com/)

Please let me know if there exists something I missed.

Thanks.

p.s. My studio ID is DFA.

Comment

People who like this

0 Show 2
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 studioalfredwalker · Oct 13, 2017 at 04:20 AM 0
Share

There was an typing error. Not studio ID, but title ID

avatar image jrDev · Oct 05, 2019 at 10:27 PM 0
Share

@Brendan any help with my post below?


Thanks,

jrDev

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Oct 15, 2017 at 01:15 AM

Sorry for the confusion - Title Data is actually stored as string/string. If you add the JSON above as a key in Title Data and then download your Title Data as JSON, you'll see that the file looks like this (assuming you named the key "Foo"):

{
  "foo": "{\"TEST\":{\"GROUP_ID\":1}}"
}

So the JSON format you need in order to upload is a JSON of all the key/value pairs of the data, but with the values being stringified JSON.

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 jrDev · Sep 27, 2019 at 07:52 PM 0
Share

Hello,

What should I do to stringify my json file in preparation to uploading it into title data because so far I am getting syntax errors with this:

{
"Points": {
"Point A": {
"Point 0 Weight": 0,
"Point 1 Weight": 0,
"Point 2 Weight": 0,
"Point 3 Weight": 0,
"Point 4 Weight": 0,
"Point 5 Weight": 0,
"Point 10 Weight": 0
}
}
}

Thanks,

jrDev

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

    Getting "413 Payload Too Large" when trying to do anything with Title Data 2 Answers

    PlayFab API request failure 1 Answer

    Почему у меня не виден текст в некоторых местах? 0 Answers

    500 internal server error after changed title name and studio name 1 Answer

    Cannot add Items to a Bundle in Playfab. 2 Answers

    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