Hi All,
We have an issue that we are not able to get the proper response from Adobe Mesh API as it is throwing syntax error while passing the graphql query as part of the payload to it as in the below screenshot:
![MandaPavanKumar_0-1685342503744.png MandaPavanKumar_0-1685342503744.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/58276iD6FE7CC6D97D5EE3/image-dimensions/916x403?v=v2)
Here is the GRAPHQL Query for the AEM Content Fragements :
{
commerceCfmList(
filter: {productsku: {_expressions: [{value: "00000105", _operator: EQUALS}]}}
) {
items {
productTitle
productsku
productCategory
productDescription {
plaintext
}
imagePath {
... on ImageRef {
_path
}
}
}
}
}
And here is the Graphql Variable :
{ "name": "00000105"}Here is the actual Graphql Query:
{
products(
filter: {category_id: {eq: "46"}},
sort: {name: ASC},
pageSize: 5,
currentPage: 1
) {
total_count
items {
id
name
sku
image {
url
label
position
disabled
}
price_range {
minimum_price {
regular_price {
value
currency
}
final_price {
value
currency
}
discount {
amount_off
percent_off
}
}
maximum_price {
regular_price {
value
currency
}
final_price {
value
currency
}
discount {
amount_off
percent_off
}
}
}
}
}
commerceCfmList(
filter: {productsku: {_expressions: [{value: "00000105", _operator: EQUALS}]}}
) {
items {
productTitle
productsku
productCategory
productDescription {
plaintext
}
imagePath {
... on ImageRef {
_path
}
}
}
}
}