Error : Incompatible complex type

Hey all, Hope you’re doing fine !
I created a memory with : X width and Y lengh
[X-1:0] memory [0:Y-1]
then, i tried to assign some data to a specific address in this memory. but i got the error Incompatible complex type.
incompatible complex type assignment.

In reply to abdelaali_21:

By providing just error type, I think nobody can understand where issue in your code
You need to share some code, then someone might help to resolve your issue.

Thanks!