Cannot populate many to many relation

Hi, have you tried using plural for category as categories? It could be because the relationship has changed it’s looking for many and not just singular now.