# Build failed: license quota exceeded, Whitelabel Error Page

**URL:** <https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152>\
**Category:** Test Management\
**Tags:** runtime-engine, katalon-studio\
**Created:** [December 5, 2019, 4:13am UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152 "2019-12-05T04:13:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpalmer](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jpalmer/32/9922_2.png) [@jpalmer](https://forum.katalon.com/u/jpalmer)\
**Post date:** [December 5, 2019, 4:13am UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/1 "2019-12-05T04:13:08Z")

</div>

I just tried to kick off my Jenkins build and ran into this error. This is a new one for me. I have a valid runtime engine license and no other executions were happening. I only have 1 build executor enabled in Jenkins. I checked TestOps and there aren’t any in there hanging either.

Here is the relevant console output:

```
00:00:08.315 Activating...
00:00:08.330 Start activating offline...
00:00:08.336 Finding valid offline licenses in folder: C:\WINDOWS\system32\config\systemprofile\.katalon\license
00:00:08.345 The number of valid offline licenses: 0
00:00:08.351 Offline activation failed.
00:00:08.351 Start activating online...
00:00:11.723 TestOps: Unexpected response code from Katalon TestOps server when sending request to URL: https://analytics.katalon.com/api/v1/license-keys/activate?machineKey=xxxxxxxxxxxxxxxxxxxxxxxxxx&ksVersion=7.0.4&email&sessionId=36170653-5cd2-43a0-8c1b-a7519e03889a&hostname=T450S-W10-JPalmer&package=ENGINE. Actual: 400, Expected: 200
00:00:11.744 License quota exceeded.
00:00:11.744 Online activation for console mode failed.
00:00:11.744 Activation failed. Please make sure you are using a valid license.
00:00:11.746 All launchers terminated
00:00:12.489 
00:00:12.489 C:\Users\jpalmer\Desktop\Katalon_Studio_Windows_64-6.1.3\Katalon_Studio_Windows_64-6.1.3>exit 3 
00:00:12.492 Build step 'Execute Windows batch command' marked build as failure
00:00:12.756 Finished: FAILURE

```

And here is what the link says:  
` Whitelabel Error Page`

```
This application has no explicit mapping for /error, so you are seeing this as a fallback. Thu Dec 05 04:02:17 UTC 2019 There was an unexpected error (type=Unauthorized, status=401). Full authentication is required to access this resource

```

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/6/64b3d7de378dc2776ac41f5b2c9719cff8218ce6.png)  
17 minutes ago is when the first failure happened and no builds that I’ve tried to start since have worked either. Does this mean I have to wait 43 minutes from the first failure?

---

<div class="post-metadata">

**Author:** ![jpalmer](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jpalmer/32/9922_2.png) [@jpalmer](https://forum.katalon.com/u/jpalmer)\
**Post date:** [December 5, 2019, 2:07pm UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/2 "2019-12-05T14:07:27Z")

</div>

Update: This is happening again this morning. When I got in, there was a build stuck in progress that had started last night (but I had turned my machine off in the meantime-- this runs locally).

I aborted the build, waited a few minutes, and tried to start another but I’m getting the same error as above and the same scenario on the licenses page.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [December 5, 2019, 2:10pm UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/3 "2019-12-05T14:10:28Z")

</div>

Callout to @devalex88 @duyluong @ThanhTo @Thong (re Katalon Licensing/TestOps)

---

<div class="post-metadata">

**Author:** ![jpalmer](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jpalmer/32/9922_2.png) [@jpalmer](https://forum.katalon.com/u/jpalmer)\
**Post date:** [December 5, 2019, 2:30pm UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/4 "2019-12-05T14:30:17Z")

</div>

Another update: I just retried the build and now it’s running. Here’s what my license page says now. 20 minutes ago, it said it expired in an hour, so it appears to have been reset.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/a/aca6ad8b8504c7e0cabd7aba311d35106ddb6293.png)

Up until yesterday, I’ve had no problem at all aborting builds and then immediately restarting it, so I’m not sure what’s happening. I need to be able to continue to do that so if there’s a problem with my license or the process I’d like to address it.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [December 5, 2019, 2:37pm UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/5 "2019-12-05T14:37:15Z")

</div>

> [@jpalmer](#):
>
> I need to be able to continue to do that so if there’s a problem with my license or the process I’d like to address it.

Agreed.

There is no doubt that the tech-change introduced by the v7-era has introduced a number of moving parts that were not there in prior versions. I know that @devalex88 et al are working on this stuff diligently but the fact remains, we’re not quite there yet.

Hopefully, someone will jump on here to explain the issue you’re seeing - this one needs to be documented, top to bottom.

---

<div class="post-metadata">

**Author:** ![anhqle](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/anhqle/32/9805_2.png) [@anhqle](https://forum.katalon.com/u/anhqle)\
**Post date:** [December 6, 2019, 3:25am UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/6 "2019-12-06T03:25:45Z")

</div>

Hi @jpalmer,

For online license, when you abort your build, Katalon TestOps will consider a license as “inactive” after 10 minutes. Please wait for 10 minutes and retry your build.

In case you want to terminate a session immediately, you can deactivate the machine in Registered Machines.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/9/92560aaaa87f8a05487958e5e984e7b71f2d8f5d.png)

---

<div class="post-metadata">

**Author:** ![jpalmer](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jpalmer/32/9922_2.png) [@jpalmer](https://forum.katalon.com/u/jpalmer)\
**Post date:** [December 6, 2019, 3:40am UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/7 "2019-12-06T03:40:38Z")

</div>

Is that a new behavior @anhqle? I’ve been using the RE license for 2+ weeks and have never, until this week, run into this. And that is with me aborting and immediately restarting builds within seconds several times a day every day.

Is there any negative to deactivating the machine? Right now, I run everything locally via Jenkins, so I don’t want to delete my machine ID and then have issues running from it again.

Thank you!

---

<div class="post-metadata">

**Author:** ![anhqle](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/anhqle/32/9805_2.png) [@anhqle](https://forum.katalon.com/u/anhqle)\
**Post date:** [December 6, 2019, 3:51am UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/8 "2019-12-06T03:51:02Z")

</div>

Deactivating a machine will only terminate sessions on that machine. So just make sure you deactivate the correct machine ID, then everything should be okay.

---

<div class="post-metadata">

**Author:** ![jpalmer](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jpalmer/32/9922_2.png) [@jpalmer](https://forum.katalon.com/u/jpalmer)\
**Post date:** [December 6, 2019, 2:03pm UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/9 "2019-12-06T14:03:46Z")

</div>

Good to know, thank you!

So I guess the only question that remains is what changed? Why was I able to start and stop builds at will in a matter of seconds until Wednesday?

---

<div class="post-metadata">

**Author:** ![Lindsey\_Carr](https://avatars.discourse-cdn.com/v4/letter/l/df788c/32.png) [@Lindsey\_Carr](https://forum.katalon.com/u/Lindsey_Carr)\
**Post date:** [January 7, 2021, 7:11pm UTC](https://forum.katalon.com/t/build-failed-license-quota-exceeded-whitelabel-error-page/37152/10 "2021-01-07T19:11:19Z")

</div>

This issue is occurring for us as well; we are unable to start/stop builds at will in a timely manner with a valid KRE.
