Skip to main content
Capability: request validation
Use this when a search comes back with HTTP 400 and INVALID_INPUT. A parameter can be rejected on its own or because it conflicts with another one. The message names the field and the rule, so you can match it below. An error looks like this:

Match your error

Filters that conflict

Filter values out of range

Query, purpose, and page

Common Mistakes

The field in the message is where validation failed, not always the one to change. For a paper search with after_date, the error names domain_type, but the fix is to remove after_date. Read the rule, then decide which side to change.
A 400 will not succeed on retry. Change the request first.

TinySearch API Reference

Every parameter, accepted value, and error code

Error Codes

Full list of API error codes