This article explains a limitation of Junos OS, wherein users can add only 32 mac-address in an allow/deny list of static-mac-filter. This is working as designed.
When user adds more than 32 mac-addresses in the allow/deny list of static-mac-filter, and then commits the configuration, the following error appears:
[edit wlan access-point test access-point-options station-mac-filter allow-list]
number of elements exceeds limit of 32
error: configuration check-out failed: (number of elements exceeds limit)
Junos OS is working as designed in this scenario, and it is an expected behavior of Junos to return error on adding more than 32 mac-addresses in the allow/deny list of static-mac-filter.