Skip to main content
Errors that say what to do, with the fields an agent needs

Improved

Error responses carry structured hintsSome errors now add fields to the errors object, next to message, type and code, which do not change. A client that ignores them keeps working.
  • InvalidParam on a setting the crawler does not have: when another crawler of the same site has it, the message says so (“Unknown parameter: phone. Did you mean functions.get_phone_numbers on leboncoin-iter-listings-with-phone?”) and the response adds param and suggestion, with the crawler id and the param to send there. See Update Squid.
  • TaskNotValidError: the message shows the value received and the crawler’s own example (“The ‘url’ format is not valid for facebook-group-posts-scraper: got https://www.facebook.com/somepage. Expected something like https://www.facebook.com/groups/211270969394435/”), and the response adds param and example. See Add Tasks.
  • DuplicateSquid: squid names are unique per account. The message names the squid (“A squid named Reviews already exists.”) and the response adds squid, the id of the squid that has the name, to reuse it instead of creating it again. See Create Squid.

Fixed

Leboncoin Listings & Phone Search Export: no phone aliasThe settings page said the old function name phone was still accepted. It is not: use functions.get_phone_numbers. See Update Settings.