Filter length exceeded, what can be done?

1

I am executing filter to Perzonalize, where the filterValues returns a message that the maximum length is 1000 and my filter has a length of 6664. what can I do about it so that it takes the full length of my filter?

Documentation: https://docs.aws.amazon.com/personalize/latest/dg/filter-real-time.html

Error message:

at 'filterValues' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 1000, Member must have length greater than or equal to 0]\n    at Object.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:52:27)
1 Answer
1

Hello, Unfortunately this is a hard limit and couldn't be changed at this moment. Maybe you could change your dataset in a way that filter expression will be shorter?

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions