Hi @Lorena ,
This issue occurs since the library contains lookup columns more than the Lookup Threshold limit. In SharePoint Online the Lookup column Threshold default limit is 12. And other than standard lookup columns some column types such as Managed metadata columns, Person or group columns, Workflow Status, Created by, Modified by are also classified as lookup columns.
To avoid this issue, you must limit the number of lookups to maximum limit.
For Reference: Lookup column threshold affecting power app
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.