The CreatorCon Call for Content is officially open! Get started here.

App Engine Studio: “Scope already taken by another app” error

dareamb
Mega Contributor

Hey everyone,

 

I’m working in my ServiceNow developer instance and keep running into this error whenever I try to create a new app in App Engine Studio (AES):

 

"Unable to create this application. Go back to the create app experience and enter a different scope name. Details: Failed to create templated object. Details: This scope is already taken by another application." (Screenshots are attached)

 

Here’s what I’ve tried so far:
- Verified that I have full admin privileges (I can access System Properties → My Company, Studio, sys_scope.list, etc.)
- Checked sys_scope.list and sys_app.list — there are no apps or scopes named “Hello Daream”
- Tried new names like “Hello Daream v2” and “MyFirstDareamApp001”
- Cleared cache, switched browsers
- Confirmed it’s not a permissions issue

 

Even though I get to the “Add Roles” screen, AES still throws the same scope error after clicking Continue.

 

Has anyone seen this before? Could my App Engine Studio metadata or scope registry be stuck? Is there a way to reset or re-register scopes in a dev instance?

 

Thanks in advance for any help!

 

– Daream

1 REPLY 1

M Iftikhar
Giga Sage

Hi @dareamb ,

This error usually means a scope record still exists or is reserved in your instance, even if it doesn’t appear in sys_scope.list.

Try these steps:

  1. Check sys_scope.list, sys_app.list, and sys_package.list using the All filter to look for any orphaned or duplicate scopes.

  2. Run GlideAppScopeFactory.invalidateCache(); in a background script to refresh the scope cache.

  3. Try creating the app in Studio instead of App Engine Studio — then import it back into AES.

  4. If the issue persists, a dev instance reset (via the Developer Portal) usually resolves the corruption.

You can also review these helpful resources for more details:

 

If my response helped, please mark it as the accepted solution so others can benefit as well. 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.