Profile names that break metadata cache generation
Key Takeaway
If metadata cache generation fails with a generic unknown error, check profile names for characters other than letters, digits, spaces, hyphens, and underscores. Rename the profile using only those characters, then generate a new metadata cache.
The Life Sciences Cloud Mobile app runs from a metadata cache that an admin generates for profiles. The metadata service doesn't support profile names that contain special characters or non-ASCII glyphs. A single profile with an unsupported name can cause a failure. The error message doesn't say why, so you need to know the naming rule to recognize the cause.
What the metadata cache is
Generating a metadata cache is how configuration changes reach the Life Sciences Cloud Mobile app. So you regenerate the cache after you change any of these:
- Lightning record pages
- Page layouts
- Objects or schema
- Feature settings
- Permissions