Error messages
- Last updated on December 29, 2023
- •
- 1 minute to read
If there are problems in the Data-Driven Editor's work, your users will see a special screen describing the details of the problem and giving recommendations on how to solve it.
The error screen contains information about the design and time of the error. This information may be useful to developers and technical support.
Let's see what errors may take place.
Design not found
This error means that a 404 error occurred when requesting the design.
Solution: You need to check the availability of the design.
The design does not contain any data schema
The Data-Driven Editor cannot work without a data schema connected to the design.
Solution: Create a data schema and embed or link it to the design. For details about connecting data schemas, refer to the Data schemas topic.
The design does not match the attached data schema
This error occurs in two cases:
- If no design elements were found for a field specified in the data schema. For example, you created a schema describing the fields:
Name
,Position
, andPhone
, and attached it to an empty design. Since the editor has not found elements with these names, it is impossible to continue working. - If the element type is incorrect. For example, you described the
Position
field as a string in the data schema. However, the design contains aPosition
element of theimage
type. Since it is impossible to write a string to such an element, the error occurs.
Solution: Check the accordance of the types of data schema fields and design elements.
Data set not found
The error occurs if the data set identifier is passed to the editor configuration, but a 404 error occurred when loading it.
Solution: Check if a data set with this identifier exists.
Unauthorized
This error means that the request to the server returned a 401 error.
Solution: The user may need to reauthorize in the system. If this did not help, check the user role.
Something went wrong
The error will be displayed if the request to the server returns a 500 error. This indicates that there are problems with the operation of the server.
Solution: Contact our support team.