Cant publish new entry because of entity error

System Information
  • Strapi Version: 4.20.1
  • Operating System: Win10
  • Database: sqlite
  • Node Version: 20.10.0
  • NPM Version: 10.2.5

Hey there,

Im facing the following problem: I cant publish a new entry of collection type “testcollec” i made.
The collection type consists of only 1 text field.

I created the german entry first, saved it and published it, all worked well.
Then i changed the language with the dropdown on the miggle right and created the english version for that entry, saved it (everything ok), but then I cant publish it because of the following error message.

The related entity doesn’t exist or the entity already exists in this locale

If i change the language with the dropdown on the miggle right again I cant even unpublish the german entry anymore.

If I go back to the list of entries for collection type “testcollec” and change the language with the dropdown on the top right to english and open the entry this way, then I can publish it.

Is this a bug?
Its a freshly installed Strapi.

Thx in advance.

4 Likes

+1
I’m facing the same issue. Any help would be highly appreciated.

The main reason of this issue is plugins[i18n][relatedEntityId] query param in url which gets appended when we change locale from inside the item dropdown.

3 Likes