Unable to link has one relation when creating new entry via REST API


I am trying to create a new entry with a has one relation following the developer resources

Creating a post using postman to /api/survey-voters the response shows the newly created entry missing the has one relation?

Am I doing something wrong?

System Information
  • Strapi Version: v4.1.0
  • Operating System: Ubuntu 18.04.5 LTS
  • Database: –
  • Node Version: v14.17.6
  • NPM Version: –
  • Yarn Version: 1.22.11

The model of the field I was trying to link did not have the right permissions… Whoopsies :man_facepalming:

Make sure you set all the permissions you need. I had them set on one model but not the on the other

1 Like

How do I configure the permissions since the same thing is happening to me as you, please tell me in doned did you see that about the permissions

Make sure the ones you need are checked

1 Like

SOLVED: Thank you very much friend, you saved my life I was already starting to go crazy, haha the problem is that well I thought that in the collection-type that you call the default relations on the same enabled collection-type it was created with its own create , but I see that you need to enable the create field of the relationship from which you want to create information, greetings