How to consume an external API with Filament Tables

I've been trying to use this method to consume an external API with the filament tables but it's giving me an error, can anyone tell me if there is another way?
image.png
Was this page helpful?