Skip to main content

Why AcuMate VS Code Extension Fails on 25R2 and Customization Projects (and How I Fixed It)

  • Nov 23, 2026 12:05 PM UTC
  • 0 replies
  • 3 views
  • Translate All

serhiitoronii09

I recently tried setting up Acumatica's open-source AcuMate VS Code extension (v1.0.1) to work with Modern UI customization projects. Even with valid credentials and a working local IIS site, TypeScript validation returned nothing and the AcuMate output log was full of 404 errors.

After digging into both the AcuMate source code and the Acumatica Bin assemblies, I found three main reasons why it didn't work on a regular installed instance. Sharing the details here in case anyone else runs into the same thing.

1. /ui/meta-data/* returns 404 on 25R2 (requires 2026 R1+)

In the AcuMate output log, authentication (POST entity/auth/login) and logout succeeded, but every metadata call failed with 404:

  • GET ui/meta-data/features → 404
  • GET ui/meta-data/graphs → 404

Checking PX.Api.TSBasedScreen.dll across builds explains why: MetadataController ([Route("meta-data")]) was only introduced in Acumatica 2026 R1. On 2025 R2, that controller doesn't exist yet (only GET ui/features is available). Because AcuMate didn't cache the 404, it kept looping login → 404 → logout on every edit.

If you are on 26R1 or 26R2, pointing acuMate.backedUrl to that site makes the backend endpoints work right away. Also, if you switch between multiple local sites, set acuMate.backedUrl in Workspace Settings instead of User Settings and run AcuMate: Drop Local Cache when switching.

2. Hardcoded internal repository path

In v1.0.1, the Validate Screens commands and scaffolding hardcoded WebSites\Pure\Site\FrontendSources\ and expected a .git folder above it. When you open a normal installed instance's FrontendSources folder directly in VS Code, path resolution breaks.

3. Partner customizationScreens folders and src/... imports

In real customization projects under screen/src/customizationScreens/<Project>/screens/..., extensions usually:

  • Import base screens using "src/screens/..." instead of relative "./" paths
  • Reference custom fields added earlier in the same extension HTML file (for example, placing a second field with after="..." pointing to the first custom field)

AcuMate v1.0.1 only followed relative imports starting with ".", didn't map customizationScreens/<Project>/ back to base .ts/.html screens, and checked CSS selectors against a static base DOM.

Fix

I put together a PR with fixes and automated tests for all of the above (installed-instance path resolution, customizationScreens and src/... imports, sequential HTML placement tracking, cache scoping per backedUrl/tenant, and graceful 404 handling with ui/features fallback):

https://github.com/Acumatica/AcuMate/pull/25

Hopefully this saves someone else a few hours of debugging when setting up Modern UI tooling.