You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposed solution
We started to discuss on discord limiting the amount of tags, and add an order of importance which could be a solution but meanwhile from a pure technical POV:
We can iterate over tags, check the tag length, adding it to the query if the query is < 512 bytes with the new tag.
To note that even if we limit the number of tags, we should aways check that the query is under 512 bytes to avoid errors since it's completely dynamic and based on the title name (no size limit at the moment) and tags (not individual size limit)
The text was updated successfully, but these errors were encountered:
How to reproduce
(prod env)
Description
When querying the API for an article with a huge amount of tags, it throws:
After investigating, related articles build a huge query based on the tags which throws when over than 512bytes.
Proposed solution
We started to discuss on discord limiting the amount of tags, and add an order of importance which could be a solution but meanwhile from a pure technical POV:
To note that even if we limit the number of tags, we should aways check that the query is under 512 bytes to avoid errors since it's completely dynamic and based on the title name (no size limit at the moment) and tags (not individual size limit)
The text was updated successfully, but these errors were encountered: