Error: The remote description was null after hanging up & creating a new offer

Upon creating a New Peer connection, I am not going to get the error but upon hangup and creating a new Peer connection. I get this error

Possible Unhandled Promise Rejection (id: 95):
Error: The remote description was null
Error: The remote description was null