Connection
claude mcp listshows the server as failed — check the URL is exactlyhttps://mcp.jetscrape.com/mcp, including the/mcppath andhttps. Then confirmcurl https://mcp.jetscrape.com/healthanswers from your machine; if it does not, an outbound proxy or firewall is blocking the connection.- Connected, but no tools listed — the client cached an older handshake. Remove and re-add the server, or restart the client.
Bad Request: no valid session ID provided— the session expired or the service was updated. Reconnect the client; a fresh session is created automatically.
Authentication and credit
Unauthorized (401)— theapiKeyis missing, wrong or revoked. Use a validjs_key. Ifsearch_docsworks and everything else returns 401, the key is the problem, not the server.Payment Required (402)— the account has no credit left. Top up in the JetScrape dashboard.Forbidden (403)— the target URL is blacklisted.
Empty or wrong results
- Status
completedbut fields empty — readdiagnostics. Every field empty means CSS against JSON, or selectors written against a different document than the engine fetched. Some fields empty means those specific selectors matched nothing. - Selectors worked in
get_htmlbut not in the scrape — the two tools fetch through separate services and were served different pages. Comparehtml_meta.sha256across calls; confirm selectors with a real scrape. - Lists of different lengths — a field is missing on some records; the engine does not pad. Use
OBJECTwithchildrenon HTML, or a JSON path that always resolves. INNER_HTMLorTEXT_PLAINreturns""— these work only on a[]property.- Root of the JSON is an array and a scalar field is
""— use[]there. after_extractionhad no effect — it only works through the template selector tools, not on inline selectors.URL/BODYselector rejected upstream — should not happen; the server fills the placeholder. Update the server if you seeselector must be a non-empty string.
Discovery finds nothing
- Check
settle.ended_byandtotal_responses. A page that loaded almost nothing never booted; flipuse_proxyand try again. - Widen or drop
url_filter; raisewait_seconds. - Trigger the call yourself with
actions; passheadersif the endpoint needs an identified visitor. - Point the tool at a page dedicated to the data, such as a standalone reviews URL.
- Remember the measured base rate: three matches in eight identical calls on one site. The default of three
attemptsexists for this reason.
Slow or stalled runs
- A routine takes hours —
get_routine_concurrencyalmost certainly shows1. Do the arithmetic, set 3, measure a wave, then 10. - Faster after raising concurrency, but rows went empty — overload. Halve the concurrency.
- Still slow in browser mode — find the JSON endpoint with
discover_api_endpointsand switch tohttp.
Templates
Gateway Timeout (504)on a template tool — the background microservice ran long. Retry once or twice.Conflict (409)oncreate_template— the config is already a template; uselist_templatesto find it.list_available_configsreturns too much — narrow withurl_containsbefore raisinglimit.- Bulk URLs did not appear — the upload is fire-and-forget; wait a moment and call
get_template_urls. Check the CSV header isurls, noturl.
Documentation search
search_docserrors — the search backend is temporarily unavailable. Every other tool keeps working; retry after a moment. If it persists, contact JetScrape support.- An answer describes a parameter that does not exist — the agent may be relying on an older tool description. Have it call
search_docsagain with the exact tool name.
When in doubt, ask the agent to show the raw tool result. Its Error: line names the HTTP status and the API's own message, which is the fastest way to tell a connection problem from a key, credit or request problem.