SOAP API access deny even using administrator account

General discussion of Mantis.

Moderators: Contributor, Developer

SOAP API access deny even using administrator account

Postby tuanklnew » Nov 27, 2017 10:23 pm

Hello everyone,
I am working on SOAP client which base on python3 Zeep. I used administrator account to retreived project information in Mantin by calling mc_project_get_all_subprojects and unfortunately it returned "Access denied". I think that maybe there have some config option in config_inc.php
to gain permission for SOAP API to access. But there is no any doccument for me to do it. I want to gain full permission to SOAP API. Could anyone please show me how?
tuanklnew
 
Posts: 4
Joined: Nov 27, 2017 10:10 pm

Re: SOAP API access deny even using administrator account

Postby rombert » Dec 19, 2017 4:13 am

You should be able to do everything using an admin user. Can you double-check the XML sent by your python client and see that the correct username and password are sent?
rombert
 
Posts: 62
Joined: Nov 05, 2009 3:43 am

Re: SOAP API access deny even using administrator account

Postby tuanklnew » Jan 12, 2018 2:36 am

Thank for replying. I found out that is my mistake. I print out xml and there is incorrect account.
tuanklnew
 
Posts: 4
Joined: Nov 27, 2017 10:10 pm

Re: SOAP API access deny even using administrator account

Postby rombert » Jan 12, 2018 5:28 am

Great to hear that, thanks for confirming!
rombert
 
Posts: 62
Joined: Nov 05, 2009 3:43 am


Return to General Discussion

Who is online

Users browsing this forum: Bing [Bot] and 12 guests