try-error to getJSONfromURL