| Previous | Next |
| OLE_E_CANTCONVERT | OLE_E_NOSTORAGE |
TAPI_E_INVALCARD
TAPI calling-card identifier is invalid
TAPI_E_INVALCARD is HRESULT 2147745809 (0x80040011) from TAPI 3.0. The documented description is “Invalid calling card.” The result belongs to dialing with location and calling-card information. The important boundary is not merely failure but which object and state transition established: the selected calling card does not exist, is disabled, or cannot be used.
TAPI_E_INVALCARD means that the selected calling card does not exist, is disabled, or cannot be used.
Where the result appears
- This result can surface in a TAPI 3 address, call-control, terminal, stream, conference, dialing, or completion-management code.
- Map the failure to one concrete operation among ITTAPI, ITAddress, ITBasicCallControl, ITCallInfo, terminal and stream interfaces, provider events, and asynchronous request state.
- Preserve provider name and version, address and call IDs, device class, media type, privilege, current address and call states, and asynchronous request ID before releasing or replacing the object that returned this result.
An incident record must distinguish caller, runtime, provider, and backing resource while testing whether the selected calling card does not exist, is disabled, or cannot be used.
Typical causes and interpretation
The immediate contract boundary is specific: the selected calling card does not exist, is disabled, or cannot be used. Common cause branches include the following:
- The card ID was removed from telephony locations.
- The card belongs to another user context.
- Dialing rules reference stale card data.
Confirm the cause branch that explains why the selected calling card does not exist, is disabled, or cannot be used by using call arguments, object state, metadata, device information, or provider traces.
Correct handling and recovery
The primary recovery is to refresh calling-card configuration, require explicit selection of a valid card, and avoid logging sensitive billing data. The failure report should capture the relevant state during dialing with location and calling-card information so it is clear why the selected calling card does not exist, is disabled, or cannot be used.
Retry this result only when evidence shows the state behind “the selected calling card does not exist, is disabled, or cannot be used” can change and the operation is repeatable.
Practical scenario
A roaming user profile carries a card ID that is absent on the current workstation, so the dialer asks for a valid local billing method.
Difference from related HRESULTs
TAPI_E_BILLINGREJECTED means the network rejected billing information; it rejects the local card selection or identifier
Developer and administrator guidance
Use a controllable service provider or simulator to cover state races, capability differences, device removal, cancellation, and provider restart.
Administrators should repair the component owning dialing with location and calling-card information as a versioned unit instead of copying arbitrary DLLs.
References
Looking for a different code? Search another status or error code.
