Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while requesting a transaction with CXEndCallAction

While requesting a CXTransaction with a CXEndCallAction, the transaction fails with error code Error Domain=com.apple.CallKit.error.requesttransaction Code=4 "(null)"

I was able to make a CXStartCallAction successfully. Does anyone know what this error means?

like image 604
David Dong Avatar asked Aug 05 '16 16:08

David Dong


1 Answers

The error codes for CallKit are defined in <CallKit/CXError.h>, and in iOS 10 Seed 4, error code 4 for domain com.apple.CallKit.error.requesttransaction is defined as:

CXErrorCodeRequestTransactionErrorUnknownCallUUID = 4,

This indicates that the call UUID for the requested CXEndCallAction did not correspond to an known call. I recommend confirming that the UUID set on the CXEndCallAction matches an existing call.

like image 110
Stuart M Avatar answered Sep 28 '22 02:09

Stuart M