directus / v8-archive

Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
https://docs.directus.io/api/reference.html
507 stars 203 forks source link

Error: collection: This value should not be blank. #2167

Open Jambris opened 4 years ago

Jambris commented 4 years ago

• Version of Directus: 8.8.0 • Server, OS & Database Details: Ubuntu 18.04.4 LTS (DigitalOcean) • Error Messages: Error: collection: This value should not be blank.

I'm having an issues changing the collect layout settings. Once I change it, it gives an error message and then I can no longer change it again.

error02

This has left multiple collections broken. error03

error01

the error log reads: [2020-06-18 20:16:02] api[trisev].ERROR: Directus\Validator\Exception\InvalidRequestException: collection: This value should not be blank. in /var/www/directus/src/core/Directus/Services/AbstractService.php:186

Some of my collections use ManyToMany but this happens to every collection.

Jambris commented 4 years ago

I would also like to add that when I create a new project with a new database and re-create the settings it is fine. I believe there must be an error somewhere in the database but I have been unable to track that down without more guidance. All collections have names and are not blank as far as I can tell.