Database relations may be wrong. Can you share the structure of your API so that you can get better help.