Common issues and solutions in Build Agent
Summarize
Summarized using AI
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.
Summary of Common issues and solutions in Build Agent
This guide helps ServiceNow customers identify and resolve frequent issues encountered with Build Agent in the Zurich release. It complements general debugging best practices to streamline problem resolution and offers targeted solutions for common problems affecting Build Agent functionality.
Show less
General Debugging Approach
- Start by pasting the exact error message into the Build Agent chat, which can often diagnose and fix issues directly.
- If multiple fixes fail in one conversation, structure your debugging by:
- Describing the error and scenario clearly.
- Reproducing the error consistently.
- Reviewing debugger output and logs.
- Checking access, configuration, and known issues.
- Testing from simple to complex hypotheses: access roles, configuration, naming conflicts, or logic edge cases.
- If unresolved, begin a fresh chat with a detailed prompt and save debug info for Now Support if needed.
Common Issues and Practical Solutions
- Now Assist panel not visible: Verify required plugins and user roles (admin role plus Build Agent plugins), confirm supported release, refresh or relogin. Capture error details if unresolved.
- Build Agent unresponsive: Clear browser cache, try a different browser, check ServiceNow status. Provide request details and browser version if problem persists.
- Scope or name conflict: Check if the app scope or name is already used. Allow Build Agent to auto-correct or pick a unique name. Capture conflicting details if needed.
- Stuck in error loop: Use Git checkpoints or update set rollback to revert changes. Start a new conversation with specific errors. Provide recent commits and error text if unresolved.
- App not deploying: Confirm successful build before deployment. Run ServiceNow SDK build in IDE, check for errors, then deploy. Paste error messages into chat for Build Agent assistance. Provide build logs and SDK version if issues persist.
- Empty UI page: Check browser console for errors, share console output with Build Agent for fixes. Capture full console log if unresolved.
- Context limit exceeded: When session history exceeds limits, start a new chat describing your app again. Provide last prompt and summary of prior work if problem continues.
- Out of prompts: Check remaining prompt count per 30-day cycle. Wait for reset or upgrade plan. Capture entitlement state if needed.
- Rate limit error: Occurs from too many requests to the model provider. Wait briefly before retrying. Provide error message and time if unresolved.
- Unsupported configuration: Some metadata or features may not be supported by Build Agent. Complete those steps manually on the platform, then continue with Build Agent. Document workarounds if necessary.
- Missing dependencies (IDE): Check package.json for referenced modules. Allow Build Agent to auto-correct or manually add missing packages and run npm install. Provide module names and errors if issues remain.
- Long-running prompt times out: Adjust session timeout settings (e.g., glide.ui.sessiontimeout to 1440) in sysproperties for labs or workshops. Coordinate changes with platform admin. Provide session length and prompt details if unresolved.
Identify and resolve common issues in Build Agent. Use this reference alongside the general debugging approach to identify and fix problems.
Issues and solutions
| Issue | Resolution |
|---|---|
| Now Assist panel not visible |
|
| Build Agent unresponsive |
|
| Scope or name conflict |
|
| Stuck in error loop |
|
| App not deploying |
|
| Empty UI page |
|
| Context limit exceeded |
|
| Out of prompts |
|
| Rate limit error |
|
| Unsupported configuration |
|
| Missing dependencies (IDE) |
|
| Long-running prompt times out |
|