Zendesk Customer Support may occasionally need additional information about the network requests that are generated in your browser. A member of the team may ask you to record a HAR file, or a log of network requests, while that issue occurs. It's also helpful to include any browser console logs in addition to a HAR file.
Click the tabs below to read the instructions to generate a HAR file and console logs in the browser that you use.
Chrome
Firefox
Safari
Edge
- Open Chrome and go to the page where the issue is occurring.
- Look for the ⋮ button and select More Tools > Developer Tools.
- From the panel that appears, select the Network tab. You must keep the menu open while you reproduce the issue.
Optional: If Zendesk Customer Support requests a HAR file with WebSockets, select the WS option in the Network tab. Reload your browser to start seeing the traffic over the WebSocket.
- Look for a round record button in the upper left corner of the tab, and make sure it is red. If it is grey, click the button once to start recording.
- If it isn't, check the Preserve log box.
- Click the crossed circle button to clear any existing logs from the network tab.
- Reproduce the issue while the network requests are recorded.
- Click the download button, Export HAR, to download, and save the file to your computer: Save as HAR with Content.
- Upload the HAR file to your ticket with Zendesk Customer Support for further investigation.
The instructions are the same for a MAC computer or a Windows computer. Find below a brief animation with the steps to retrieve a HAR file in Chrome.
Retrieving console logs in Chrome
- Open Main Menu for Chrome.
- Navigate to More Tools > Developer Tools.
- Open the Console tab and screenshot any errors that appear.
- Open Firefox and go to the page where the issue is occurring.
- Open the Network Monitor.
- Reproduce the issue while the network requests are recorded.
- Right-click anywhere under the File column and click Save All As HAR.
- Save the HAR file somewhere convenient.
- Upload the HAR file to your ticket with Zendesk Customer Support for further investigation.
The instructions are the same for a MAC computer or a Windows computer. For any issues generating a HAR file in Firefox, see this article from Firefox Source Docs: Network Monitor.
Retrieving console logs in Firefox
- In the Tools menu, select Web Developer.
- Console logs will appear in a separate window.
- Screenshot any errors that appear.
- Open Safari and go to the Develop menu. If you don't see theDevelop menu, follow the instructions in this article from the Safari User Guide: Use the developer tools in the Develop menu in Safari on Mac.
- Select Show Web Inspector.
- Click the Network tab. You must keep it open while you reproduce the issue.
- Reproduce the issue while the network requests are recorded.
- Click the Export icon and save the HAR file.
- Upload the HAR file to your ticket with Zendesk Customer Support for further investigation.
For any issues generating a HAR file in Safari, see this article from Safari Developer website: Web Inspector.
Retrieving console logs in Safari
- Open Preferences and navigate to the Advanced tab.
- Select Show Developer menu in the menu bar.
- Close Preferences.
- In the menu bar, select Developer > Show error console.
- Screenshot any errors that appear.
- Open Edge and go to the Network tool.
- Reproduce the issue while the network requests are recorded.
- Export captured traffic as a HAR file.
- Upload the HAR file to your ticket with Zendesk Customer Support for further investigation.
For any issues generating a HAR file in Safari, see this article from Microsoft Edge website: Inspect network activity.
Retrieving console logs in Edge
- Select the three dots in the upper-right corner of your browser window.
- Click More tools > Developer Tools.
- In the DevTools panel, click the Console tab.
- Right-click the console and select Clear Console of any pre-existing logs.
- Check the Preserve Log checkbox.
- Replicate the issue that you experienced in the Edge browser.
- Screenshot any errors that appear.
Additional resources
If you are experiencing issues with your account, see some of the short advice and troubleshooting articles: Advice and troubleshooting. If you aren't a Zendesk customer yet, register now for a Zendesk trial.
16 Comments
These instructions need to be updated. You cannot right-click to download. There is a specific download button in Chrome.
Hey Brian,
Thanks for taking the time to share this with us! I'll pass this feedback along to our documentation team so they can get this article updated.
Cheers!
Cheers Brett, I have updated the article accordingly :)
Hi Zendesk support team. We were recently asked to produce a HAR file for troubleshooting. Can you please tell me what data is being captured in a HAR file? I would like to understand this before sending this file to you.
Hi Dae,
Thank you for contacting Zendesk Support! I'm George from the Advocacy Team and I will be pleased to help you with this
HAR (HTTP Archive Format) is a JSON archive file format that stores session data over many browsers (IE, Firefox, Chrome, Safari, etc.) between client and server. In the network environment, when the communication between the sender and the receiver occurs, HAR contains HTTP response and request headers.
HAR files can contain sensitive data, so make sure you store these files securely. We from Zendesk are compromised to store the data that you will be sending to us. If If you wish please have a look at our Privacy policy regarding our customers data safe.
HAR file are used to inspect what is happening behind the scenes of your browser. More specifically, it has all the details about operations your browser performed. It includes information like requests made, response times, response status code etc. What is more significant it also includes sensitive data that should not be shared with untrusted parties. That is why you should only share your HAR files with Auth0 employees.
I will tentatively solve this ticket for now as this information should assist you with your query. However don't hesitate to reply to this email if you have any further follow up questions or queries.
Have a great day!
Where is the specific download button in Chrome?
It's possible that Chrome has changed its UI for this since this article was written. Look for the down arrow in the same row as the Preserve log checkbox (the tooltip for the arrow will say "Export HAR..." if you hover your cursor over it):
I'll contact our docs team to get this updated (and to fix the broken image later in the article).
Thanks Dave
That did the trick!
Hi , Facing Few issue with Mobile Messaging , trying to contact the customer support , but no resolution till now even no ETA for same has been provided.
Issues - 1. Bot responses being added on top of your first reply and not giving the option to continue - Android 11 Samsung
2. Crash For Android 12 via selecting image from Camera from Zendesk AttachmentActivity
Logs
Caused by java.lang.IllegalArgumentException
Couldn't find meta-data for provider with authority com.zendesk.native_messaging.fileprovider
androidx.core.content.FileProvider.parsePathStrategy (FileProvider.java:662)
androidx.core.content.FileProvider.getUriForFile (FileProvider.java:441)
zendesk.messaging.android.internal.conversationscreen.attachments.AttachmentActivity.startCamera (AttachmentActivity.kt:220)
So I downloaded the HAR file and am wondering what is a good app for viewing it? Libre Calc has troble with it. any suggestions?
on the MacBook, you can open a HAR file with TextEdit.
Hey there. Is there any chance that the instructions will be updated to coincide with the most recent versions of these browsers? I'd like to use these instructions for our end users by sharing the link, but some information may be outdated, particularly the Chrome one where it asks us to click in the preserver log box. I have not checked any of the other instructions. Thanks
We are going to pass this along with our documentation team to have a closer look. Thank you for this heads-up!
Hello Trinity, we're glad to inform you that the steps especially for Chrome have been updated. Thank you!
I have been asked to generate a HAR file for an existing ticket. I have tried several times and am only allowed to Save as type: "MS-DOS Application".
Please help.
Please sign in to leave a comment.