Subject: | TS_RC_AUTHORIZE_FAILED is never returned |
When you call authorize() with an invalid application ID, the error code TS_RC_UNKNOWN_ERROR is returned rather than TS_RC_AUTHORIZE_FAILED as you might expect.
For example, you can get this returned,
error_code => 'client.unknown_error'
error_message => 'application key "XXXXXX" is invalid'
Best regards,
Dave Lambley