You need to provide expiresAt in milliseconds since the epoch began. You need to multiply your value by 1000.

Did this answer your question?