SOAP API access deny even using administrator account

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
tuanklnew
Posts: 5
Joined: 28 Nov 2017, 03:10

SOAP API access deny even using administrator account

Post by tuanklnew »

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: 05 Nov 2009, 08:43

Re: SOAP API access deny even using administrator account

Post by rombert »

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: 28 Nov 2017, 03:10

Re: SOAP API access deny even using administrator account

Post by tuanklnew »

Thank for replying. I found out that is my mistake. I print out xml and there is incorrect account.
rombert
Posts: 66
Joined: 05 Nov 2009, 08:43

Re: SOAP API access deny even using administrator account

Post by rombert »

Great to hear that, thanks for confirming!
Post Reply