Enabling that option for the build trigger youâre using
Running the build again from DatoCMS (the âBuild statusâ button in the upper right)
Waiting a few minutes for the spider success notification
Trying the API call again
You can view detailed spider information in your projectâs Build triggers activity in order to see what the spider is doing, if you need to.
But the bug is just that weâre showing you the wrong error message⌠you need to turn on site spidering in one or more build hooks for that API call to work.
No worries, thanks for getting back to us so quickly. Iâll try out the suggestion first thing tomorrow morning and come back to report on results. Cheers!
As long as we are on the same thread, I looked through docs , and it seems itâs not possible to get thumbnails for the search results, correct? (just wanted to double check)
Thumbnail, like a screenshot? Unfortunately, no⌠our crawler is a very basic one that only looks at the rendered HTML. It doesnât actually run a browser, so it canât take a screenshot Youâd have to use a third-party system for that, sorry!
(You can also run Playwright/Puppeteer/Selenium/etc. on your own machine or VPS and do it that way, but itâs again a script youâd have to write and maintain on your own, sorry!)
Just an update on this (the original MISSING_BUILD_TRIGGER_ID_PARAMETER error, which was wrong and confusing).
We couldnât modify the underlying API behavior without breaking backward compatibility for existing users. So, instead, we updated the error code and explanation.
UNRESOLVABLE_BUILD_TRIGGER
This error occurs when a Site Search API call fails due to DatoCMSâs inability to identify a valid, search-enabled build trigger. If your request includes a filter[build_trigger_id] query string parameter, this error indicates that either the ID is incorrect, or the build trigger does not have the âEnable Site Searchâ option checked. If your request does NOT include a build_trigger_id parameter, then the API cannot select a default build trigger because there are either no search-enabled build triggers available or multiple ones, leading to an ambiguity it cannot resolve.
The underlying behavior did not change, but hopefully the fallbacks are better explained now.
TLDR, easy solution: Just make sure the build trigger youâre using actually has site search enabled; donât make the system try to guess which one to use