IBM Support

BuildForge::Ex::APIException: API: Access denied: 7

Troubleshooting


Problem

This technote details a known defect that causes the error, []com.buildforge.services.common.api.APIException: API: Access denied: 7[], to occur in the Tomcat window when the API user attempts to add himself to a new group.

Symptom


The methods addMemberUser for the AccessGroup object, and addAccessGroup for the User object both fail with an Access Denied message, as note below:

In the command line

BuildForge::Ex::APIException: API: Access denied: 7.


In the Tomcat window


Nov 27, 2007 3:44:30 PM com.buildforge.services.server.api.AuthContext loginLdap
INFO: Authenticated LDAP user: kaduer@us.ibm.com
Nov 27, 2007 3:44:30 PM com.buildforge.services.server.util.AccessCache check
INFO: check: MISS
Nov 27, 2007 3:44:30 PM com.buildforge.services.server.util.AccessCache check
INFO: check: MISS
Nov 27, 2007 3:44:31 PM com.buildforge.services.server.util.AccessCache check
INFO: check: MISS
Nov 27, 2007 3:44:31 PM com.buildforge.services.server.util.AccessCache check
INFO: check: MISS
Nov 27, 2007 3:44:31 PM com.buildforge.services.server.util.AccessCache check
INFO: check: MISS
Nov 27, 2007 3:44:31 PM com.buildforge.services.server.util.AccessCache check
INFO: check: MISS
Nov 27, 2007 3:44:31 PM com.buildforge.services.server.api.APIServerConnection process
WARNING: !!!
com.buildforge.services.common.api.APIException: API: Access denied: 7.
at com.buildforge.services.common.api.APIException.needLevel(APIException.java:313)
at com.buildforge.services.server.api.AuthContext.checkLevel(AuthContext.java:314)
at com.buildforge.services.server.api.commands.AccessCommands.addMemberUser(AccessCommands.java:327)
at com.buildforge.services.server.api.commands.AccessCommands.invoke(AccessCommands.java:116)
at com.buildforge.services.server.api.APICommandProcessor.process(APICommandProcessor.java:185)
at com.buildforge.services.server.api.APIServerConnection.handleRequest(APIServerConnection.java:155)
at com.buildforge.services.server.api.APIServerConnection.process(APIServerConnection.java:107)
at com.buildforge.services.server.dispatch.handler.BufferedConnection.run(BufferedConnection.java:175)
at com.buildforge.services.server.dispatch.ThreadPool$WorkerThread.run(ThreadPool.java:333)

The same user can add himself to the new group while logged in through the user interface.

The user is a member already of the System manager and Security groups with the permissions to perform the task of adding users to new groups.

[{"Product":{"code":"SSB2MV","label":"Rational Build Forge"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"API: Perl","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"7.0.2;7.0.1","Edition":"Enterprise","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
11 June 2026

UID

swg21289423