APIException - User licenses exceeded
3 answers
Hi,
I have created a new user named build to login, but I got following issue, does anybody meet this exception before?
"Error authenticating: com.buildforge.services.common.api.APIException - User licenses exceeded"
Hi,
If you're getting that message, you might check if users have been logged into the Build Forge console for a long time and they just didn't log out properly. You can check who is logged in and how long they've been logged in by navigating to the 'Administration -> Users' page in the web UI.
If they don't need to be logged in, you could click on their name and press the 'Logout User' button. That will free up a license for your API client.
Brent Ulbricht
Developer/Lead - RTC Build
Comments
We have one server license and ten user licenses. During the day, a couple of users will log in the BF Mgmt Console from the web, and some will connect to BF through Perl API as code shown below. Now we always getting this error from Perl code. Why? We've configured APIUSR01~APIUSR19 inside the BF as the local user and many domain users as well, total 59.
## launch BF project
my $conn = new BuildForge::Services::Connection($bf_server, $bf_port);
my $bfid = bccpbmod::PopId;
$conn->authUser($bfid, 'APIUSR');
“BuildForge::Ex::APIException: User licenses exceeded” found is catalina.log
Hi,
I have created a new user named build to login, but I got following issue, does anybody meet this exception before?
"Error authenticating: com.buildforge.services.common.api.APIException - User licenses exceeded"
Hi,
If you're getting that message, you might check if users have been logged into the Build Forge console for a long time and they just didn't log out properly. You can check who is logged in and how long they've been logged in by navigating to the 'Administration -> Users' page in the web UI.
If they don't need to be logged in, you could click on their name and press the 'Logout User' button. That will free up a license for your API client.
Brent Ulbricht
Developer/Lead - RTC Build
The other condition where I have seen this error is when you are using a temporary license for Build Forge and the license has expired.