How to fix metafield date_time format error in product creation?

Hi, I am trying to create a product with metafield whose value is date_time and despite passing the date and time in ISO 8601 format, it is giving error that value is not in the specific format. Does anyone know anything about this?

Answer pasted somewhere else.