AnswerBun.com

could not insert object, most likely a uniqueness constraint was violated

EOS.IO Asked by Zaigham Javed on January 3, 2022

I started a non producing nodeos using latest snapshot to listen the eosio blockchain but i am getting an error. can any body help me?

Error:

error 2020-02-24T10:59:50.853 nodeos producer_plugin.cpp:388
on_incoming_block ] 13 St9exception: could not insert object, most
likely a uniqueness constraint was violated could not insert object,
most likely a uniqueness constraint was violated:
{"what":"could not insert object, most likely a uniqueness constraint was violated"}
nodeos controller.cpp:1771 apply_block rethrow
{}
nodeos controller.cpp:1827 push_block

Thanks

One Answer

This is an error caused on a smart contract when trying to emplace a table entry that already exists, so if you see this error but otherwise you appear to be reading and syncing blocks, then you can ignore the error entirely as it has nothing to do with you.

You can turn off the output from smart contracts by setting contracts-console and http-verbose-errors to false.

Answered by Phillip Hamnett - EOS42 on January 3, 2022

Add your own answers!

Related Questions

nodeos lib doesn’t found

2  Asked on August 20, 2021 by jimmy-guo

     

How to reduce NET and CPU usage in Private EOS

2  Asked on August 20, 2021 by zohaib-basit

       

use inline action with eosio.token

2  Asked on August 20, 2021 by ahmadkajjan

   

Declare custom structs

1  Asked on August 20, 2021 by jimmy-sullivan

 

chainbase::database error

1  Asked on August 20, 2021 by iambaeba1

   

Creating new account in EOS Studio throws signatures error

1  Asked on August 20, 2021 by milos-krstic

   

How to run nodeos consistently even when dirty flag is set?

1  Asked on August 20, 2021 by tigran-sahakyan

   

read datastream of length 29 over by -4

1  Asked on February 16, 2021 by lijianwei

 

Smart contract error while calling recover_key

1  Asked on February 6, 2021 by riccardo-persiani

     

Main steps for preparing IDE for Nodeos development

1  Asked on January 29, 2021 by congnghebitcoin-com

   

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP