Hi Shashika,

Is there any detail log available in server side about this error.

Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511

On Sat, Apr 4, 2015 at 12:50 PM, Shashika Karunatilaka <[email protected]>
wrote:

> Hi Saneth,
>
> yes, can do the same thing.it works from ui.
>
> On Sat, Apr 4, 2015 at 12:33 PM, Saneth Dharmakeerthi <[email protected]>
> wrote:
>
>> HI Shashika,
>>
>> Can you manually do the subscription from the same user (
>> [email protected])?
>> Check whether the given user has subscription permition.
>>
>> Thanks and Best Regards,
>>
>> Saneth Dharmakeerthi
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile: +94772325511
>>
>> On Sat, Apr 4, 2015 at 12:23 PM, Shashika Karunatilaka <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> Currently i'm writing on a test case to publish a api through tenant and
>>> want to subscribe that api and need to invoke the api i have created,
>>> But im getting below error when calling
>>> org.wso2.carbon.am.tests.util.APIStoreRestClient's subscribe() method
>>> {"error" : true, "message" :
>>> "org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the
>>> subscription for user: [email protected]"}
>>>
>>> This process works fine when doing it using super tenant mode.
>>> Im using api manager 1.8.0.
>>>
>>> Thank you.
>>> --
>>> Shashika Prabath Karunatilaka,
>>> Software Engineer,
>>> WSO2, Inc: http://wso2.com/
>>> mobile : +94 77 7487792
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to