trouble with AutoTools Json read action

170 views
Skip to first unread message

Nick77

unread,
Mar 24, 2021, 8:30:51 AM3/24/21
to Tasker
hi everybody, trying to read a json file but i'm having some problems.
the file i would like to work with is available here: 

if i use one AutoTools Json Read action to import the file from the web and define the fields i want to collect, then everything works fine.
The problem comes out when i want to store that json object into a variable and define the fields in a second action: now the second json read action doesnt succed and times out.
you can find attached below the description.

Temp (168)
A1: AutoTools Json Read [ Configuration:Simple Mode: true
Json: https://raw.githubusercontent.com/italia/covid19-opendata-vaccini/master/dati/consegne-vaccini-latest.json
Json Root Variable: output
Separator: , Timeout (Seconds):60 ]
A2: AutoTools Json Read [ Configuration:Json: %output
Fields: data.area()
Json Root Variable: output
Separator: , Timeout (Seconds):60 ] 

Tested a couple of other json files and they work fine. doubting there is maybe some problem with this file or something (or else i'm missing something i dont get).

regards







João Dias

unread,
Mar 24, 2021, 9:18:13 AM3/24/21
to tas...@googlegroups.com
Does it work if you get the data with the HTTP Request action instead?

Also, if you want to try it out the Tasker beta can read JSON natively :) Check here: https://www.reddit.com/r/tasker/comments/lgxj9w/dev_tasker_5120beta_native_json_and_html_reading/

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Nick77

unread,
Mar 24, 2021, 10:04:35 AM3/24/21
to Tasker

Just tried with HTTP request but it doesn't seem to work either.

(I'd rather not try tasker beta for now cause i wouldn't want to mess up with my other tasks/profiles already running, but i'm really glad to hear that :) )

João Dias

unread,
Mar 25, 2021, 5:18:48 AM3/25/21
to tas...@googlegroups.com
Ok, I think I know what's going on... It's that it's so much data that it can't be sent between Tasker and AutoTools. Android has a hard limit on how much data can be sent and unfortunately this JSON file is just too big. The good news is that the native implementation works well so if you're willing to wait for that you'll be good to go :)

Nick77

unread,
Mar 25, 2021, 5:24:15 AM3/25/21
to Tasker
Ok that's fine , thanks a lot Joao !

coman

unread,
Oct 13, 2025, 1:38:32 PM (3 days ago) Oct 13
to Tasker
Is there also a native implementation for JSON writing? I didn't find one :( The AutoTools JSON Write breaks when my files reach 125 KB - https://www.reddit.com/r/tasker/comments/15pfio2/comment/njb106i/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
Reply all
Reply to author
Forward
0 new messages