The following article provides guidance for troubleshooting issue with Assette’s Visual Studio Code Plug-in. If your issue is not listed, please contact clientservice@assette.com.
Assette VS Code Extension Installation Issues #
If you experience issues installing or accessing the extension:
- Ensure you are connected to the internet.
- Confirm that you have installed VS Code and not VS Code Insiders or another editor.
- Verify that there are no conflicting extensions installed that interfere with network activity.
- Check for error messages in the Output panel or Extensions log by clicking View > Output and selecting the relevant source from the dropdown.
Troubleshooting Sign-In Issues #
If you encounter issues during the SSO sign-in process:
The browser does not open: #
- Ensure your system allows applications to open external URLs.
- Try right-clicking the Sign In button and selecting Copy Link, then manually open it in a browser.
Incorrect or missing Client ID: #
- Double-check the Client ID for typos or incorrect casing.
- Confirm with your administrator if you’re unsure of your firm’s ID.
SSO login fails in the browser: #
- Ensure you are using your corporate credentials.
- If Multi-Factor Authentication (MFA) is required, complete all steps.
- Contact your internal IT or SSO administrator if login fails consistently.
Sign-in appears to succeed, but VS Code does not update: #
- Restart VS Code to ensure token refresh.
- Check for background errors in the Output panel by navigating to View > Output and selecting “Assette” from the dropdown.
Failure to Upload Data Block – Additional Whitespace #
Symptoms:
- Unable to upload a Data Block to Assette via the Visual Studio Code (VS Code) Plug-in
- Receive the following error message when trying to upload a Data Block:
- Template Upload Failed: AxiosError: Request failed with status code 400
Source: Assette Block Editor
- Template Upload Failed: AxiosError: Request failed with status code 400

Possible Causes & Solutions
This error is likely caused by removing or altering the Python comment which Assette uses to identify the start and stop of the Data Block.
# ----Code start identification-do not remove this line---
^ Additional leading whitespace added
The difference is small, but this may accidentally occur when VS Code has a Python Formatter Plug-in enabled. To resolve this issue, manually remove the additional whitespace(s).
# ----Code start identification-do not remove this line---
^ Additional leading whitespace removed
Data Blocks in Assette Won’t Sync to VS Code #
If changes don’t appear after upload:
- Click the Refresh button in the extension toolbar to re-sync the tree view.
- Review the logs/ folder for error messages.
- Open the Output panel via
View > Output
and choose “Assette” from the dropdown to review extension logs.
Important: Only authenticated users can upload. If your session has expired, you will be prompted to re-authenticate.