Ticket: Table Join: Get Comments

Hi,

i read the following thread to find my issue. but I could not: Ticket Get Comments

This is my code. I cant figure out what’s wrong with it.

This is my error.

Please help. Stuck.

Regards,
Rashad

Hi @Rashad_Bayram, welcome to the community :wave: .
As it’s already mentioned in the error that

A pipeline stage specification object must contain exactly one field.

But in your case it seems like you have two keys as $lookup: and as:, therefore you might want to shift the as: key in the $lookup object itself and hopefully it will fix the issue.

I hope it helps.

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

2 Likes

Thank you. it worked.