Relation filtering returns 400 error

I have two collections User and SamplePoints
I am going to filter sample-points with username. They have many-to-many relation.
I am sending a request to this endpoint with REST API. But getting 400 error.

const samplePointsURI = /api/sample-points?filters[users][username][$eq]=${username}

Could you help me fix this issue?