When I try to edit the command bar for an associated view for documents I get the following error messages.
The messages only appear when i click on 'new'.

When I try to edit the command bar for an associated view for documents I get the following error messages.
The messages only appear when i click on 'new'.
Hi @Henryed07,
Have you solved this problem?
Do you mean that the command bar disabled?
Could you please share a bit more about your scenario?
Actually, the Edit command bar is a preview feature, which maybe unstable. I will suggest you open a ticket to investigate it deeper.
Power Platform admin center (microsoft.com)
In addition, I think it is related to a ribbon issue, here is a doc you could check for reference:
Troubleshooting ribbon issues in Power Apps - Power Apps | Microsoft Docs
Hope this could help you at some degree.