Error when running PostRespository.getPostByIds()

I get the following error in Typescript when I try to run PostRespository.getPostByIds():
[ReferenceError: Property ‘error’ doesn’t exist]

I’m running the latest version of the Typescript package (6.9.0)

Hello, could you please provide the relevant code?

Ah, I understand the issue, this is related to another post about an issue dealing with content search. For some reason, some of the post ids I’ve gotten returned when testing with content search don’t exist. So when I include the invalid ids in the array that I pass to getPostByIds it returns the error I included.

1 Like