2👍
It seems like it is trying to create a second instance of UserProfile connected to the same User. This can happen if post_save signal gets fired twice.
As this answer points out, this can happen as a result of the order of model imports.
Source:stackexchange.com