Throw error if JSON object not preloaded