Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
matiasdesousa
Contributor
Contributor

Error on updating MongoDB collection

I'm trying to upsert or update a collection but i'm getting the following error:

Must have at least one key in schema

Please check my configurations. It's showing insert on action on data but don't mind that, i changed it, so that's not the issue.

Labels (3)
1 Solution

Accepted Solutions
kakooo16
Creator
Creator

you have to edit schema and put a primary key because you are doing an update !

 

Regards ,

Amine

View solution in original post

2 Replies
kakooo16
Creator
Creator

you have to edit schema and put a primary key because you are doing an update !

 

Regards ,

Amine

matiasdesousa
Contributor
Contributor
Author

Thanks a lot.