Field-Viewer API

All errors

pricing.amount_invalid

This amount is not a valid price

HTTP status
422
Problem type
https://api.field-viewer.com/problems/pricing.amount_invalid
Catalogue
Domain-specific

What it means

This amount is not a valid price.

What to do

The request was readable but breaks the operation's rules. See errors[] and the detail for what to change.

Example response

Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.

HTTP/1.1 422
Content-Type: application/problem+json

{
  "type": "https://api.field-viewer.com/problems/pricing.amount_invalid",
  "title": "This amount is not a valid price",
  "status": 422,
  "detail": "This amount is not a valid price",
  "instance": "/v1/platform/organizations/{organizationId}/billing/discount",
  "code": "pricing.amount_invalid",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

OperationRequestSummary
grantOrganizationDiscountPOST /v1/platform/organizations/{organizationId}/billing/discountGive one organisation a discount
updatePlanPricePATCH /v1/platform/pricing/prices/{planId}Change a plan's list price