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 Weyrdworks · Sep 27, 2018 at 04:20 PM · CloudScriptapis

JSON Field Reformatting on Automation Save

There's something wrong with the JSON argument field in the schedule task automation / segmentation automation. We've had our cloud script setup like this with a simple JSON argument below that has worked fine for months. It still works if I run the script on an individual player. Screen Shot 2018-09-27 at 8.26.21 PM.png

HOWEVER, the JSON argument gets reformatted everytime I SAVE it for Scheduled task automation: Screen Shot 2018-09-27 at 8.26.39 PM.png
Comment
griver08

People who like this

1 Show 1
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 Weyrdworks · Sep 27, 2018 at 12:42 PM 0
Share

{"specialOffer":1} auto-reformats into "{/"specialOffer/":1}"

2 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by griver08 · Oct 08, 2018 at 10:49 PM

It seem's this issue has been resolved. I was having the same problem last week, but not anymore.

Comment
Weyrdworks

People who like this

1 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 Andy ♦♦ · Oct 09, 2018 at 05:27 AM 0
Share

Yep. It looks like the bug was resolved and the fix was deployed last night.

avatar image

Answer by Brendan · Sep 28, 2018 at 08:55 AM

Can you provide the specific Title ID and Scheduled Task, so that we can have a look?

Comment

People who like this

0 Show 4 · 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 Weyrdworks · Sep 28, 2018 at 09:10 AM 0
Share

Sure thing!
Title ID : 70BF

Scheduled Task: "Set Special Offer"

avatar image Brendan ♦♦ Weyrdworks · Sep 29, 2018 at 01:03 AM 0
Share

Thanks, and to be clear, are you saying that the script run from this scheduled task does not work, as it cannot evaluate the data passed in? I'll have the Game Manager team look into why it's stringifying the data.

avatar image Weyrdworks Brendan ♦♦ · Sep 29, 2018 at 01:41 AM 0
Share

Yes. That's exactly what's happening. Everytime I hit "SAVE", it stringifies it again so you'll eventually end up changing {"specialOffer":1} to "{/////////"specialOffer/////////":1}"

Show more comments

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

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    Related Questions

    HTTP.REQUEST returning CloudScriptHTTPRequestError even if it goes through 2 Answers

    TypeError when trying to declare a call to server.GetPlayersInSegment(); 1 Answer

    GetPlayerCombinedInfoRequest no longer includes DisplayName in response 2 Answers

    Request timeout 3 Answers

    GetObjects/SetObjects InternalError 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