mods icon indicating copy to clipboard operation
mods copied to clipboard

Issue with Store JSON From Web API | Does not store all JSON paths if left blank

Open WolfoTheWolf opened this issue 4 years ago • 1 comments

Describe the bug Store JSON from web API, When I leave the path blank (to store everything) it will return as ""object Object" but will paste the JSON in the console if debug mode is on. (have made sure it wasnt the api)

To Reproduce Steps to reproduce the behavior:

  1. Go to Your project and make a new command, add a "Store JSON From Web API"
  2. Input "https://dog.ceo/api/breeds/image/random"
  3. turn debug on
  4. Leave the Path blank (to store everything)
  5. Store in temp var
  6. send message with that temp var
  7. will return object
  8. check console has the data listed there

Expected behavior It will return object in a message and in the console paste it properly.

Screenshots image image image image

WolfoTheWolf avatar Aug 26 '21 19:08 WolfoTheWolf

Issue happened when I updated actions, works on my main bot that is using older actions

WolfoTheWolf avatar Aug 26 '21 20:08 WolfoTheWolf

Can be fixed with parse from stored json mod, or by utilizing the stringify output option.

OneAndOnlyFinbar avatar Apr 16 '23 03:04 OneAndOnlyFinbar