Common Issues
This guide covers common issues you may encounter while using LiteClient and how to resolve them.Variables Not Substituting
Variables Not Substituting
If variables appear unchanged in your requests (e.g.,
{{baseUrl}} sent literally):Possible Causes:- No environment is selected in the sidebar
- The variable doesn’t exist in the active environment, collection, or globals
- Typo in the variable name (e.g.,
{{nam}}instead of{{name}}) - The variable is disabled
- Ensure an environment is selected from the dropdown in the sidebar
- Verify the variable exists in the Env tab (check Globals, Collection, and Environment sections)
- Check the variable name spelling matches exactly (case-sensitive)
- Confirm the variable is enabled (check the enabled checkbox)
- Remember: Global variables are always available regardless of selected environment
Request Fails with 'Invalid URL'
Request Fails with 'Invalid URL'
If your request fails before sending with an invalid URL error:Possible Causes:
- URL missing
http://orhttps://protocol - Unresolved variables in the URL
- Malformed URL structure
- Verify the URL starts with
http://orhttps:// - Check for unresolved variables (e.g.,
{{port}}without defining theportvariable) - Test the URL in a browser to confirm the endpoint exists
- Use the variable autocomplete to ensure correct variable names
Cookies Not Being Sent
Cookies Not Being Sent
OAuth Token Expired
OAuth Token Expired
If requests fail with authentication errors:Possible Causes:
- Access token has expired
- Refresh token failed or is invalid
- OAuth configuration is incorrect
- LiteClient automatically refreshes tokens when possible
- If automatic refresh fails, manually re-authenticate:
- Open the request’s Auth tab
- Verify OAuth configuration (Authorization URL, Token URL, Client ID, Secret)
- Click Get Access Token to acquire a new token
- Check that the token URL is correct in your OAuth configuration
- Verify your OAuth application credentials haven’t been revoked
Response Body Not Formatted
Response Body Not Formatted
If response appears as unformatted text:Possible Causes:
- Missing or incorrect
Content-Typeheader in response - Server returning non-JSON content
- Response body is actually plain text
- Response formatting requires proper
Content-Typeheader from the server - JSON responses with
Content-Type: application/jsonare auto-formatted - Other content types (XML, HTML, plain text) display as-is
- Check the response headers in the Headers tab to verify
Content-Type - If the server is returning JSON without proper headers, contact the API maintainer
Request Takes Too Long / Timeout
Request Takes Too Long / Timeout
If requests hang or timeout:Possible Causes:
- Server is slow or unresponsive
- Network connectivity issues
- Request timeout setting too short
- Verify your internet connection is working
- Test the endpoint in a browser or with
curlto confirm it responds - Check if the server is experiencing downtime
- Review any timeout settings in your request configuration
- For slow endpoints, consider the expected response time
Collection Not Importing from Postman
Collection Not Importing from Postman
If Postman import fails:Possible Causes:
- Wrong Postman collection version
- Corrupted JSON file
- Invalid file format
- Verify the file is Postman Collection v2.1 format
- When exporting from Postman, explicitly select Collection v2.1
- Check that the JSON file is not corrupted (open in a text editor)
- Ensure the file is properly formatted JSON (use a JSON validator)
- Try re-exporting from Postman if issues persist
Workspace Storage Not Showing Data
Workspace Storage Not Showing Data
If switching to workspace storage shows empty collections:Possible Causes:
.liteclient/folder doesn’t exist- Storage scope not properly switched
- Data not migrated from global storage
- Verify the storage scope indicator in the status bar shows Workspace
- Check that
.liteclient/folder exists in your workspace root - Run LiteClient: Migrate Data to Workspace command to copy global data
- Reload VS Code window after switching storage scopes
- Check file permissions on
.liteclient/directory
Environment Variables Not Appearing in Autocomplete
Environment Variables Not Appearing in Autocomplete
If autocomplete doesn’t show your variables:Possible Causes:
- Variables not saved properly
- Environment not selected
- Autocomplete not triggered correctly
- Ensure you saved the environment after adding variables
- Select an environment from the dropdown in the sidebar
- Type
{{to trigger autocomplete (not just{) - Check the Env tab to confirm variables exist
- Global variables should always appear in autocomplete
Request Headers Not Being Sent
Request Headers Not Being Sent
If headers aren’t appearing in the actual request:Possible Causes:
- Headers disabled in the headers table
- Variables in headers not resolved
- Header name/value contains invalid characters
- Check the checkbox next to each header in the Headers tab
- Verify any variables in header values are defined and enabled
- Ensure header names don’t contain spaces or special characters
- Test with a simple static header first
- Use browser DevTools or a proxy to inspect the actual HTTP request
OAuth Callback Not Working
OAuth Callback Not Working
If the OAuth flow opens browser but doesn’t complete:Possible Causes:
- Redirect URI not configured in OAuth app
- VS Code not handling
vscode://URIs - Browser blocking the callback
- Ensure your OAuth application’s redirect URI includes:
vscode://liteclienthq.liteclient/oauth-callback
- Check that VS Code is the default handler for
vscode://URIs on your system - Try a different browser if your current browser blocks custom protocols
- Verify the Authorization URL and Token URL are correct
- Check OAuth application settings in the provider’s console
Extension Not Loading / Sidebar Missing
Extension Not Loading / Sidebar Missing
Getting Help
If you encounter issues not covered here:Check Documentation
Review the full documentation for detailed feature guides
GitHub Issues
Report bugs or request features on the GitHub repository
VS Code Logs
Check Output panel:
View → Output → LiteClientCommunity
Ask questions and share solutions with other users