Internal server error when making polls

ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_polls_on_post_id_and_name"
DETAIL:  Key (post_id, name)=(74475, poll) already exists.
: INSERT INTO "polls" ("post_id", "created_at", "updated_at") VALUES (74475, '2019-05-31 01:11:30.464491', '2019-05-31 01:11:30.464491') RETURNING "id")
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-mini-profiler-1.0.2/lib/patches/db/pg.rb:72:in `async_exec_params'
Failed to handle exception in exception app middleware : PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_polls_on_post_id_and_name"
DETAIL:  Key (post_id, name)=(74475, poll) already exists.
: INSERT INTO "polls" ("post_id", "created_at", "updated_at") VALUES (74475, '2019-05-31 01:11:30.464491', '2019-05-31 01:11:30.464491') RETURNING "id"