There are two scenarios in which this error might occur 1) While performing a new enrollment. 2) Tapping on Store for a already enrolled user.
Resolution
Possible causes:
Check if the NetScaler Gateway is up.
Check if the STA for XMS is up on the NetScaler Gateway.
Check if the MAM LB VIP is resolvable. You may need to add a DNS entry for the MAM LB VIP FQDN
Go to Netscaler Gateway -> Global Settings -> Configured Domains for Clientless Access to Allowed Domains.
Add the XM Server FQDN (mdm.domain.com:8443) in Domains for Clientless Access to Allowed Domains.
In some cases if you see only a specific user unable to access the store while other can- then check if the device or user has duplicate MAM ID entries in the Database. More information on duplicate MAM entries is available in below article : https://support.citrix.com/article/CTX217692
Note : Duplicate MAM ID issue was resolved with XMS 10.3.6 , however, if you still see the issue report it back to support.