{ "error": { "type": "request_error", "code": "discount_restricted_product_not_active", "detail": "Product pro_01ghbk4xjn4qdsmstcwzgcgg35 isn't active.", "documentation_url": "https://developer.paddle.com/errors/discounts/discount_restricted_product_not_active" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
discount_restricted_product_not_active- Error message
- Product %s isn't active.
Common causes
- A product ID in
restrict_tohas astatusofarchived.
Troubleshooting
- Check the product's
statusby listing products filtered using theidquery parameter. - Update the product so that its
statusisactive.