UID property is "null" in GET response to the Strapi REST API

Got the same behaviour. Seems to be a bug: Adding UID with attached field to existing Collection Type returns null · Issue #11665 · strapi/strapi · GitHub

Workaround: Edit the generated field in the content manager, save, edit again to restore generated value and save again. Then the value is written to the DB and also returned by the API.

1 Like