Getting 500 error on prod

What type of relation you use? 1-1, many-many? Can you give detailed response?