[INTERNAL_SERVER_ERROR] Cannot read properties of undefined (reading 'primary') [Solved]
Have you recently updated Directus and received this message? You have come to the right place.
How to upgrade to v10
Keen to update to v10 of Directus? Upgrade in just a few simple steps.
Image Optimization in Directus
Directus can serve images on a website from the file library using the asset URL, however, if these images are too large, it will impact the performance of both your web application and Directus itself.
How to Logout of Directus
Directus has the amazing ability to keep us logged in even when we close the browser. This saves us so much time however, what happens when we need to log out of Directus?
Where can I find the API Reference?
The Directus API Reference is a powerful document that shows us the different ways we can query the API, including filters and pagination.
What is the URL for Images?
Rather than link to the images directly, you can use Directus to deliver images to your application with ease and security. Best of all, you can optimize images for web using the built in parameters.
How to Configure the Mailservice
Adding a mail service to Directus is very important, without this configured, user's will not receive any emails from Directus including password reset tokens.
How to create an API Key
You can create a new API key in the User Directory. Here you can generate a token and assign a role for the permissions.
How to perform an API POST Query
Create and update items in your collection using the API.
How to use API Authentication
Every API is different when it comes to Authentication but in Directus, all you need is a Bearer token.