Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008115TestLinkAPI - XMLRPCpublic2017-10-17 08:542018-10-06 15:44
Assigned Tofman 
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version1.9.14 (2015 Q3) 
Fixed in Version 
Summary0008115: Can not authenticate client: invalid developer key

I am trying to use the API for testlink (1.9.11) with python (also tried with java).
The problem is that I am always getting the same error message:
testlink.testlinkerrors.TLResponseError: 2000: Can not authenticate client: invalid developer key
Additional InformationI already checked the previous topics about this error but nothing helped.

I am generating my API key via: My Settings -> API interface -> Generate a new key.

I also checked in \testlink repertory the file where both:
$tlCfg->api->enabled to TRUE and $tlCfg->exec_cfg->enabled_test_automation to ENABLED

I am connected to testlink as senior tester (not admin) does it have an influence? Hope that someone can help me with this issue.

Kind regards,

TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
PHP Version
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
fman (administrator)
2017-10-18 20:43

next time use forum for questions
you need to create the api key for the user you are using to access testlink via api
SELENMI (reporter)
2017-10-26 08:23

Hi fman,

Sorry I didn't have access to the forum to post the question I think.

Can you please give me more information? Since I am creating the personnal API access key via testlink for my own user (with senior tester rights) then I use this devkey in the following code:

set TESTLINK_API_PYTHON_DEVKEY=xxxxxxxxxxxxxxxxxxx
import testlink

but I am getting the error testlink.testlinkerrors.TLResponseError: 2000: Can not authenticate client: invalid developer key.

Kind regards,


- Issue History
Date Modified Username Field Change
2017-10-17 08:54 SELENMI New Issue
2017-10-18 20:43 fman Note Added: 0026944
2017-10-18 20:43 fman QA Team - Task Workflow Status => TBD
2017-10-18 20:43 fman Status new => resolved
2017-10-18 20:43 fman Resolution open => no change required
2017-10-18 20:43 fman Assigned To => fman
2017-10-26 08:23 SELENMI Note Added: 0026969
2018-10-06 15:44 fman Status resolved => closed

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker