- Issue created by @keshavv
I encountered an issue where making an API request to search with special characters across multiple content types causes errors when using the include fields.
Note:
There is no issue with adding base fields in the include.
There is no issue if we search without special character field.
Here is my endpoint.
/jsonapi/index/elastic?filter[4][condition][path]=type&filter[4][condition][value]=collection_description&filter[4][condition][memberOf]=content_type&filter[content_type][group][conjunction]=OR&filter[fulltext]=se'a&filter[type][condition][path]=type&filter[type][condition][value]=blog&filter[type][condition][memberOf]=content_type&include=field_blog_slider&page[limit]=5&page[offset]=0
Here is the response:
{
"jsonapi": {
"version": "1.0",
"meta": {
"links": {
"self": {
"href": "http://jsonapi.org/format/1.0/"
}
}
}
},
"errors": [
{
"title": "Bad Request",
"status": "400",
"detail": "`field_blog_slider` are not valid relationship names.
Active
1.0
Code