Umbraco Forms - 404 error when retrieving rich text data type

Umbraco version: 15.3.1
Forms version: 15.1.1

When attempting to reach any feature in Umbraco Forms which relies on the rich text data type, a 404 error occurs which prevents the user from using that feature. For example, when trying to update the “go to page/show message” workflow step, an API call is made to /umbraco/forms/management/api/v1/field-type/richtext-datatype which gets a 404 response, resulting in an “ApiError” pop up. The same error occurs when trying to add a rich text field to a form.

Has anybody else encountered this issue? The issue doesn’t appear to be a Forms bug as it doesn’t occur on a newly-created site.

Edit: This was due to the built-in Rich Text data type being deleted in this specific Umbraco site. The fix involved specifying the new Rich Text data type in the app settings file, similar to the below:

"Forms":{
  "FieldTypes": {
    "RichText": {
      "DataTypeId": "9eb34a76-e10a-4015-a8b1-981b55cc7cb4"
    }
  }
}