No Model found for collection ArtistList - Laravel SmartCollection

I think that the issue come from the route declaration.
The route was declared in api.php and by default all the routes in api.php has the prefix “api”.

Can you check if the route forest/artistList has the prefix “api” with the command php artisan route:list ?

If so, you can remove the prefix “api” in the boot() function of the RouteServiceProvider.php or declare this route in web.php.

2 Likes