Happy Business Starts Here

New Student

Zuora querying apis permissions issue

When querying the zuora api endpoint https://rest.apisandbox.zuora.com/v1/entities with a administrators username and password I get the following error:

"reasons": [
{
"code": 50000010,
"message": "You do not have permission to perform this operation."
}

]

 

Also when calling the endpoint v1/action/query with the username and password my query works though if I enter a zuora entity id I get the error:

{"message":"Authentication error"} . This worked at some point which is why it strange that it has stopped working. I have checked this within postman and using the the following open source library https://github.com/bolaurent/zuora_restful_python. Is there currently an issue with the api in querying anything related to zuora entities?

 

I have also tested this with users that have API Access permissions and faced the same issue.

1 REPLY 1
Zuora Support Moderator

Re: Zuora querying apis permissions issue

Hi Abdul, 

 

In order to use api call `/v1/entities`, you need to confirm if you have enabled the Multi-entity feature. Reference: https://knowledgecenter.zuora.com/BB_Introducing_Z_Business/Multi-entity

 

I reproduced the error 50000010 on a sandbox without Multi-entity feature: 

Screen Shot 2019-01-03 at 1.58.06 PM.png

 

On a Multi-entity feature enabled tenant, the call works as expected: 

Screen Shot 2019-01-03 at 1.58.32 PM.png

Regards,
Yong Xiang | yxiang@zuora.com
Application Support Engineer | Zuora Inc.


If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √