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 helpful to include any browser console logs in addition to a HAR file. Similarly, you may also collect Windows log files in addition to HAR files.
This article includes these sections:
Instructions for generating HAR files
Click the links below to read the instructions to generate a HAR file and console logs in the browser that you use.
- Generate a HAR file in Chrome
- Generate a HAR file in Firefox
- Generate a HAR file in Safari
- Generate a HAR file in Edge
Generate a HAR file in Chrome
- 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. Note that WS button does not capture all logs when saving the HAR file.
- 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 grey 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.
See Instructions for sending HAR files.
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.
For any issues generating this file, see this article from Google's Help Center: Capture web session traffic.
To retrieve 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.
Generate a HAR file in Firefox
- 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.
See Instructions for sending HAR files.
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.
To retrieve console logs in Firefox
- In the Tools menu, select Web Developer.
- Console logs will appear in a separate window.
- Screenshot any errors that appear.
Generate a HAR file in Safari
- 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.
See Instructions for sending HAR files.
For any issues generating a HAR file in Safari, see this article from Safari Developer website: Web Inspector.
To retrieve 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.
To generate a HAR file in Edge
- 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.
See Instructions for sending HAR files.
For any issues generating a HAR file in Safari, see this article from Microsoft Edge website: Inspect network activity.
To retrieve 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.
Instructions for sending HAR files
Before you send a HAR file to Zendesk, you should both rename AND zip or compress your HAR files. Uncompressed HAR files are often over Zendesk attachment limits. Also, by default, HAR files use the page URL as the name of the file. Files with .com extensions look suspicious to spam and phishing filters. Give the HAR file a descriptive name that doesn't include their full URL.