OnCollisionEnter2D not detecting collision

I am trying to detect the collision between two objects. both have collidder and both ar marked as triggers. both have rigid nody. but the colision isn’t detected. What could be wrong.

I don’t think OnCollision callbacks work with kinematic rigidbodies.