SOAP API access deny even using administrator account

General discussion of Mantis.

Moderators: Contributor, Developer

Post Reply
tuanklnew
Posts: 5
Joined: Nov 27, 2017 10:10 pm

SOAP API access deny even using administrator account

Post by 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?

rombert
Posts: 66
Joined: Nov 05, 2009 3:43 am

Re: SOAP API access deny even using administrator account

Post by 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?

tuanklnew
Posts: 5
Joined: Nov 27, 2017 10:10 pm

Re: SOAP API access deny even using administrator account

Post by 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.

rombert
Posts: 66
Joined: Nov 05, 2009 3:43 am

Re: SOAP API access deny even using administrator account

Post by rombert » Jan 12, 2018 5:28 am

Great to hear that, thanks for confirming!

Post Reply