Greetings Jen_Denisse,
Thanks for visiting the Apple Support Communities! I understand you're unable to download apps from the App Store on your Mac, as you receive an error message.
To help troubleshoot the error message you've received, I suggest checking for restricted files and folders. Although titled for a different error message than the one you've received, you can see those steps outlined within the following support article: If you see a -45054 error in the iTunes Store
If the issue persists, you can see further troubleshooting suggestions within the following support article: If you can't connect to the App Store, iTunes Store, or Apple Books. Within the support article, you'll see steps for checking your connections, checking the date and time settings, and more.
Let me know how it goes from here.
Cheers.