- You leaked your access token
- The second code block doens’t use a token. (when counter is 1) so its erroring and not processing the error
- The first code block (counter is 0) you feed the
dataobject to be string concat withTextand never extracttotalfrom the API response to use on line 4