Technical Q&A QA1498

AuthorizationCreateFromExternalForm 100022 Error Explained

Q:  What does the return value of 100022 mean after I call AuthorizationCreateFromExternalForm?

A: What does the return value of 100022 mean after I call AuthorizationCreateFromExternalForm?

Authorization Services routines can return unexpected errors (explained in detail in Technical Q&A QA1499, 'Security Framework Error Codes'). In this case, the error is EINVAL (22) + 100000.

If you receive this return value from AuthorizationCreateFromExternalForm it means that the AuthorizationRef from which the AuthorizationExternalForm was created is no longer valid. Typically this is because the process associated with that AuthorizationRef has quit.



Document Revision History


DateNotes
2007-01-04

New document that explains the undocumented 100022 return value from AuthorizationCreateFromExternalForm.