Customer portal: Wrong response from validate license key #6548
-
DescriptionWhen validating a license key that has status Current BehaviorWhen validating a revoked license key I get this response:
Expected BehaviorShould return status |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @anderseklof, https://docs.polar.sh/api-reference/license-keys/get is the API you can use to get the expected expected behavior. The |
Beta Was this translation helpful? Give feedback.
Hi @anderseklof,
https://docs.polar.sh/api-reference/license-keys/get is the API you can use to get the expected expected behavior. The
/validate
endpoint acts as a counter for how many times this license key has been validated and if the key is no more active (i.e. revoked or canceled), the endpoint would indeed return a 404. This status code is returned because the License Key is no longer active, and hence there's nothing found to be validated.