submitting changelists - StandardMacros reference error

I’m on Perforce and UE 5.1.
When I try to submit a changelist through UE’s ‘View Changelists’ window I get this error:
image
UE then prevents me from submitting.
If I submit via Perforce it goes through without issues and everything works fine.
Any ideas what the problem here is?