Links

sc.operation.failed

Sometimes, despite the correct setup, generating a wallet returns sc.operation.failed error code followed by this message in the Response:
Unable to deploy wallet. Reason: Error: Unable to broadcast transaction.
Example
POST <https://api.tatum.io/v3/blockchain/sc/custodial/batch>
{
"chain": "MATIC",
"fromPrivateKey": "0xd01f************4202f",
"batchCount": 100,
"owner": "0x7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxeeb"
}
Response
{
"statusCode": 403,
"errorCode": "sc.operation.failed",
"message": "Unable to deploy wallet. Reason: Error: Unable to broadcast transaction."
}

Solution

Ensure that your account has sufficient funds to pay the gas fee.