Skip to the content

invalid-request

Its type is https://api.reconnectchina.org/docs/v1/problems/invalid-request.

400. The request is not valid: a path that cannot be read, a body that is not JSON or does not match the schema, an unknown field, a from or to that is not a valid instant expression (an unknown time zone, or a time of day the zone skips, included), a from that is not earlier than to, a term that does not parse or is longer than your organization's agreement allows, an unknown issuer, a scope in the body that does not exist, or a saved search's name that breaks the naming rule. errors names each offending part: a pointer into the body, or the parameter of the path. Correct the request; sending it again unchanged fails the same way.

A term or an instant expression that does not parse, or names no instant, has an entry in errors for each mistake in it, and each entry's span marks where in the string the mistake is, so that a form can underline it. Where the whole value is at fault, such as a from that is not earlier than to, there is no span.