mongoDB id ObjectId

I was working on Google and Github OAuth and get the below issue on the go.
Help me to figure out the response

“Inconsistent column data: Malformed ObjectID: provided hex string representation must be exactly 12 bytes, instead got: “143003179”, length 9 for the field ‘id’.”

Hi @Manyenzi_J_Happy and welcome to the community forum

The error message above is self explanatory which says the the objectId is supposed to be 12 bytes.
Could you help me with the Object that you are trying to use for your collections?