New restriction in Web API?

We have our own user dashboard where they can manage licenses.
We use this request to retrieve the user’s licenses:

https://api.cryptlex.com/v3/licenses?limit=100&key[in]=XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX,XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX,XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX,XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX,XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX,XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX

We have been using that for a while, but now we are hit with a 400 error when the key[in] field is too long:
Each string in the field Key must have a maximum length of 256 characters

Is this a new limitation? Is there another way to achieve the same request?

Hi @lindale,

Thanks for reaching out!

I understand how this might be affecting your workflow. I’ll forward this as feedback to our team and will keep you posted here. Thank you for your understanding.

Thanks for your quick reply.

Can you confirm that this is a recent change on your side, and not something that broke on our side?

Thanks

A validation check for string length was added to the requests. However, the fix has been deployed, and you should be able to retrieve the licenses now.

Thanks for the quick fix.

1 Like

For any further assistance, you can also reach out to our support channel at support@cryptlex.com

Thank you!