Ask questions, share tips, and discuss best practices about apps and integrations, App builder, APIs, SDKs, ZAF, and Sunshine
Recently active
I'm adding zendesk chat script to a NextJS 13 application. When the page change, the <iframe> of the chat is gone. Chat box disappears. How can i fix it? Here is the implementation details: 'use client';import { useEffect, useState } from 'react';let zafClient = null;export function useZafClient() { const [client, setClient] = useState(zafClient); console.log(zafClient); useEffect(() => { if (!client && typeof window.ZAFClient !== 'undefined') { zafClient = window.ZAFClient.init(); console.log({ zafClient }, 'init'); setClient(zafClient); if (zafClient) { console.log('invoke'); zafClient.invoke('resize', { width: '100%', height: '200px' }); } } }, [client]); return client;} const ZendeskChat = () => { const scriptUrl = 'https://static.zdassets.com/ekr/
Heya, I'm trying to figure out how to properly set Google Analytics inside our built apps so we can track our client's behavior. We'd like to track normal things like unique visitors, engagement, etcSo far no success with GAnalytics. Is it because the apps are served in an iFrame? Is there a workaround? What's the Website stream I should set?
Hi everyone. Zendesk ist depracating the implicit authorization flow, so I wanted to update our flow to PKCE authorization code flow. I followed the steps in https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application However I don't receive any access token in step 3. Step 1 Open Zendesk Login Window Route: https://identity.plattform.mediio.de/oauth/authorizations/new Query Params look like this:const endpointParams: URLSearchParams = new URLSearchParams({ response_type: 'code', redirect_uri: 'https://www.demo.mediio.shop/assets/zendesk/zendesk.html', client_id: 'plattform', scope: 'hc:read', code_challenge_method: 'S256', code_challenge: codeChallenge, });The codeChallenge is generated as described here: https://developer.zendesk.com/documentation/ticketing/working-with-oauth/oauth-pkce/ Step 2 Capture the code from the redirect URL. Step 3 Send a POS
Hello! We're receiving this crash report from Play Console: java.lang.RuntimeException: Unable to resume activity {.../zendesk.support.guide.HelpCenterActivity}: android.net.ConnectivityManager$TooManyRequestsException Details: - SDK for Android - com.zendesk:support:5.0.9 - Stack trace: Exception java.lang.RuntimeException: Unable to resume activity {.../zendesk.support.guide.HelpCenterActivity}: android.net.ConnectivityManager$TooManyRequestsException at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4438) at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4470) at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52) at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage (ActivityTh
This community seems a bit odd. It takes a day to even post something (sits in pending) and now that it finally shows up I cannot even post a comment on my own post? Can someone explain to me why this is happening? Perhaps its something on my end, but this sort of makes a forum like this much less desirable.
Hi Zendesk Team, I got this crash in the Firebase Crashlytics.Here are the details:SDK version:zendesk.messaging:messaging-android:2.22.0 Crash is happening on the Android Version: 99% Android 11 <1% Android 13 <1% Android 12 <1% Android 14 Device States:97% in background Crash log:Fatal Exception: java.lang.SecurityException: Package android does not belong to 10206 at android.os.Parcel.createExceptionOrNull(Parcel.java:2374) at android.os.Parcel.createException(Parcel.java:2358) at android.os.Parcel.readException(Parcel.java:2341) at android.os.Parcel.readException(Parcel.java:2283) at android.net.IConnectivityManager$Stub$Proxy.listenForNetwork(IConnectivityManager.java:3609) at android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:3716) at android.net.ConnectivityManager.registerNetworkCall
Xcode 16 does not let us upload our apps because SDKConfigurations framework still contains bitcode. The update to the Support SDK released on September 17th (8.0.4) did fix this issue in other frameworks. However, SDKConfigurations was not updated and this prevents us from releasing app updates with Xcode 16. Please fix ASAPHere is an error which we get during the upload:Invalid Executable. The executable '******.app/Frameworks/SDKConfigurations.framework/SDKConfigurations' contains bitcode.
Is there a way that I can get tickets by custom_status_id?
We are using the “Create Request” method of the Requests API to create a new ticket from a custom form on our website.When using an authenticated request, we are supposed to provide an email address along with the api_token in this format:{email_address}/token:{api_token}The API Token is “Not associated with a specific Zendesk user. However, you must provide an email address for an admin, agent, or other valid user when authenticating requests.”What is the purpose of the requirement to specify an email address when authenticating?I don't see much upside – it would be fairly easy for an outsider to guess the email address of some (any!) Zendesk user at the organization. And chances are that if an attacker somehow gets access to the API Token, they'll also have access to the email address.The downside is that it introduces a failure mode whereby if that user is ever removed from Zendesk (e.g., they change roles or leave the company), it will require updating the email address used by any
I'm using a custom Airbyte connector to extract tickets from Zendesk Support. I'm using the Search Export endpoint to try and retrieve all tickets created in a day. This will be used to do a massive extraction of previous years. Doesn't matter the amount of tickets, I'm always receiving a rate limit exception when reading the last batch of tickets. In the example below, there should be around 17k tickets on Nov 18th. (Btw, we're not using the official zendesk support source connector because when we tried to use it for such a big retroactive extraction it was bugging and taking forever before even a million tickets).2024-11-19 18:40:15 platform > Records read: 5000 (190 MB)2024-11-19 18:44:26 platform > Records read: 10000 (381 MB)2024-11-19 18:48:34 platform > Records read: 15000 (571 MB)2024-11-19 18:50:35 source > Backing off _send(...) for 0.0s (airbyte_cdk.sources.streams.http.exceptions.UserDefinedBackoffException: Request URL: https://<subdomain>.zendesk.com/ap
Hello Community,I have Zendesk ticket sidebar app, i want to access my secure parameters which then I have to pass it as payload to webhook and triggers but getting undefined when checking the Webhook RequestBody in Activity, I have also tried metaData from which i am able to fetch value but locally only, getting undefined when tried uploading app as private
I am a developer working on a Zendesk app that we provide to our customers. In this post, I would like to ask about an issue occurring in one of our customer's environments.We have a function that creates a user based on a given phone number and returns the user ID. Here is an example of the function:export const createNewUser = async (phoneNumber: string) => { const data: ZendeskApiUserCreate = { user: { name: phoneNumber, phone: phoneNumber, verified: true, }, }; const options: ZendeskApiOptions = { url: "/api/v2/users.json", type: "POST", contentType: "application/json", data: JSON.stringify(data), }; const response = await client.request<ZendeskApiUser>(options); return response?.user?.id; };When passing a string like 0901234567 to the phoneNumber parameter of this createNewUser function, it works fine in most Zendesk instances. However, in a specific customer's instance, we encounter the following error:{ “readyS
Hello We are using Zendesk Chat SDK “Zendesk-SDK/5.0.5 iOS/18.1 Variant/Chat” We are setting the department information before chat starts but we also need to set the Brand information otherwise all new messages get set the default brand. Could you help with this please? Thank you
Hi guys,We integrated the Zendesk SDK into our Unity project, but we've started encountering errors when trying to attach an image to a conversation. These issues occur in the following situations: When using the Unity Editor When trying to attach an image on a Galaxy A52 (Android 13) through Samsung Gallery When the user has a weak internet connection Could you help us resolve this issue? E Curl error 3: URL rejected: Error [ZendeskError]: Image to display is not available. Unable to open image viewer.
We have a ServiceNow Scoped application, which is installed by clients on their ServiceNow instance. Is it possible for us to configure multiple JWT SSO integrations (one [or more. if they want to test] per customer)? I have read this link on Multibrand - but I believe this is a slightly different scenario - in our case (I believe) this would require different credentials, one for each client install. ThanksDavid
I need some help with an issue happening with the SDK we implemented in our App (to allow users interact with us via chat directly from the App). When the App is minimized, or when the phone screen is locked, the push notifications that should be sent by Zendesk once an agent interacts with the customer’s ticket stop arriving. However, if the App is open (even on screens other than the Chat), the push notifications come through as expected. Could you help us understand what might be causing this issue? Is there any place we can check if some sort of timeout might be occurring in the connection? It almost seems as though the chat connection is being dropped, as we notice that when we reopen the chat screen, it shows that the chat is reconnecting. Could this be related?
Is there a way to read the list of customers including all customer data through a REST call from an external application?
Hi,Given there're multiple Zendesk instances, what's the best way to keep the configuration(admin centre settings) same across those instances without manually duplicating the same configurations in each instances?For example, is there a way to change/update the configuration via API etc. so that we can manage the configuration in a single place and apply it to whatever instances we want? Thanks in advance.
Hi 👋 I have a couple secure parameters in my app that I am allowing admins to set in 'Settings' page in my app's interface. I'm using the PUT /api/v2/apps/installations/{app_installation_id} API to update the secure settings. This is working well, however, it seems that the app itself does not get the updated secure settings until I refresh my browser. I have evidence that the app still sends my server an old secure setting until I refresh Zendesk in my browser. Is there any way in ZAF to make a request to have my entire app reloaded so I don't need to instruct my users to refresh their browser for their changes to take effect?
The official Zendesk-Slack integration is very powerful, offering out-of-the-box two-way communication in a stylish way, but sometimes you just want a simple notification setup. I hope this guide is helpful in showing the flexibility possible with Zendesk triggers and Slack. Create a Slack app (in Slack) [Alternatively, you could just create an incoming WebHook in Slack] Make sure you're logged into Slack from your browser and proceed to: https://api.slack.com/apps/new Give the app a name that is appropriate, I've chosen Zendesk notifier for this example, and also select which Slack Workspace you want the notifications on (if you have multiple). Push the Create app button. On the next screen, under Add features and functionality, select Incoming Webhooks. Switch on the incoming webhook and click the Add new webhook to Workspace link Next up select the Slack channel you want the app to post messages to and Authorize. Copy the webhook URL, we need that for the next step in Zendesk.
Hello Zendesk Support,I am encountering an issue with file uploads in the Zendesk Chat SDK when using a custom ChatAPIConfiguration in my app. Here are the details and steps I have taken: Configuration Setup: I initialize ChatAPIConfiguration with visitor information such as name, email, and phone number retrieved from user session data. The configuration is then assigned to Chat.instance?.configuration. File uploads do not work as expected; the ChatAttachmentMessage log shows a localURL for the file but lacks an uploaded url, which I assume means the upload hasn’t completed successfully. Code Details: Below is a summary of the configuration and initialization code being used: var chatAPIConfig: ChatAPIConfiguration { let chatAPIConfig = ChatAPIConfiguration() guard let email = session.object(forKey: "user.email") as? String, let firstName = session.object(forKey: "user.name") as? String, let lastName = session.object(forKey: "user.last_name") as? St
It seems that with the API, macros can only be applied to existing tickets. I'm trying to set up a process where a ticket gets created with a macro already applied (the macro includes a comment template, which I would like to be the first comment of the ticket). This can be done manually through the Zendesk portal, but is there a way to do this through the API in the create ticket POST request? Thanks for the help!
When using the messaging widget on both Android and iOS and creating buttons with options for customer to click, the button only shows “option not supported” instead of the actual text. This works fine in the web widget.How come it doesnt work using mobile apps?
I have a custom Contact Us form that was built via AJAX. The files uploaded via API call to https://narvar.zendesk.com/api/v2/uploads.json are successful and token is returned. However, the uploaded file is corrupted and does not open. Can someone assist regarding this? This is the code that is being used const attachmentTokens = [];const username = "user@user.com"; // Replace with your usernameconst apiToken = "token"; // Replace with your API tokenconst authHeader = "Basic " + btoa(username + "/token:" + apiToken); // Concatenate username with /token and the API tokenfor (const file of files) {const formData = new FormData();const fileName = encodeURIComponent(file.name);const fileContentType = file.type || "application/octet-stream"; // Default to a generic binary type if type is not availableconst fileBlob = new Blob([file], { type: fileContentType });// Log the file as a Blob for debuggingconsole.log("File Blob:", fileBlob);formData.append("file", fileBlob, file.name);c
Hi there,I am struggling to understand the push endpoint documentation on how to set the fields for the author ?Let's say this is the author object:{ "external_id": 1, "fields": [] } How do I add the email to the fields array ?The description of the attribute says:> Array of items containing user field identifier ('id') and value of field ('value'.) For system fields ('notes' or 'details'), the identifier is the English name. For custom fields, the identifier may be the ID or the nameBut when adding it as “fields”: [{"email": “something@example.com”}], the email does not show up.Am I restricted to only notes and details ? If so, do I add them as key value pairs[{"notes": “a note”}, {"details": “some details”}] ?Thank you for your help.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.