By Sandra Rose  | 

BACKGRID

Nicki Minaj's husband, Kenneth Petty, has filed a lawsuit to clear his good name. Petty says having his name on New York's Sex Offender Registry is causing him a lot of problems.

Petty is suing the State of New York and its Criminal Justice Services division to have his name removed from the sex offender's registry, because he claims he never got his day in court.

Johnny Nunez/Getty Images

According to legal documents obtained by TMZ, Petty says he never received a notice of a hearing back in October 2004 while he was incarcerated.

Petty never got the chance to challenge the order placing his name on the NY sex offender's registry as a category level 2 sex offender.

Petty claims the notice of the hearing was sent to an address where he didn't live -- because he was in prison at the time.

BACKGRID

Now he wants his day in court to prove the "Kenny Petty" signature on the bottom of the notice is a forgery.

Petty claims whoever signed it also answered that he would not be attending the hearing. According to the new lawsuit, Petty claims he never got his constitutional right to due process to challenge the risk level assigned to him.

Because of this, Petty says he's suffered humiliation and financial loss -- as well as an embarrassing arrest last year for failing to register as a sex offender in California.