Changing schema.json in backend to a previous state, now new content added via CMS is undefined?

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:


I accidental deleted a relational content field from Content-Type Builder. To go back I decided to grab the old schema.json files i had in my remote git hub repo. Put them in my local.

I did a rebuild. The changes are in the CMS. However now when I add new attributes values via the CMS and then try to output it via GraphQL I get Cannot read properties of undefined.
I am able to output the old values if I delete the new ones.

What should I do?