script follower problem

  1. You leaked your access token
  2. The second code block doens’t use a token. (when counter is 1) so its erroring and not processing the error
  3. The first code block (counter is 0) you feed the data object to be string concat with Text and never extract total from the API response to use on line 4