What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Predictive Search API

Predictive Search API

tomasShopwin
Shopify Partner
1 0 0

im having a 422 error with the following description: "param is missing or the value is empty: q"

Even though im sending all parameters. Down below you can see the request that im doing.

i'm also sending mi token via the header.

 

https://xxxx.myshopify.com/search/suggest.json?resources[type]=product&resources10=10&q=a

 

I couldn't find useful information in this link: https://shopify.dev/api/ajax/reference/predictive-search

I've reach out to support but they didn't have an answer for this kind of problem. 

Is this a common error? Is there anything I can do to make it work? 

 

im looking forward to your reply

Replies 0 (0)