Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting ValidationException: Invalid FilterExpression when publishing a big objects #309

Open
eitanfr opened this issue Dec 23, 2022 · 0 comments · May be fixed by #310 or #330
Open

Getting ValidationException: Invalid FilterExpression when publishing a big objects #309

eitanfr opened this issue Dec 23, 2022 · 0 comments · May be fixed by #310 or #330

Comments

@eitanfr
Copy link

eitanfr commented Dec 23, 2022

I am getting "ValidationException: Invalid FilterExpression: Expression size has exceeded the maximum allowed size" when I try to publish a large object.

It looks like the issue is happing because of the filter logic, in getFilteredSubs.ts. Because I try to publish big a big object with nested objects inside the function creates a massive filter expression which results in the "Invalid FilterExpression: Expression size has exceeded" error.

In my use case, I don't need the filter nested logic, seems like a possible solution is to allow configuring to filter nested objects.
For example, I only need to filter by one argument (like userId).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant