turn terminal monitor on
'term mon'
you will see there is a TCAM limit:
%ACLQOS-SLOT1-2-ACLQOS_FAILED: ACLQOS failure: TCAM region is not configured for feature SPM NAT outside class IPv4 direction ingress. Please configure TCAM region NAT ACL[nat] and retry the command.
TCAM is a hardware resource and NAT does not have any allocation
you can take resources from an unused region and assign them to the NAT region
you can see the TCAM: show hardware access-list tcam
IPV4 RACL [racl] size = 1536
setting to 1024
hardware access-list tcam region racl 1024
setting nat to 512
hardware access-list tcam region nat 512
reload the switch and now the nat command works