You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the Zendesk documentation refers to the username being [email protected]/token. The ZendeskApiClient only wants the email portion.
To avoid confusion, you should either:
# Change from this:
IServiceCollection.AddZendeskClient(string endpointUri, string username, string token)
# To This:
IServiceCollection.AddZendeskClient(string endpointUri, string email_address, string token)
Or, you should put in validation that throws an Exception when the username variable ends with /token.
The text was updated successfully, but these errors were encountered:
timothydilbert
changed the title
Keep getting "Unauthorised" errors when trying to do a simple zendesk.Search.SearchAsync command
Clarification is needed on what a valid username is
Sep 13, 2024
All of the Zendesk documentation refers to the username being
[email protected]/token
. TheZendeskApiClient
only wants the email portion.To avoid confusion, you should either:
Or, you should put in validation that throws an Exception when the
username
variable ends with/token
.The text was updated successfully, but these errors were encountered: