Issue with the cat api Error Cannot read properties of undefined (reading ‘data’)

Error

Cannot read properties of undefined (reading ‘data’)

You’ll have to post your code. That error is very generic, and could be related to anything along the way.

this is when i try to get my api token or url from the site. My code dose not work because i cant get the url or token