Hi Saneth,

yes, can do the same thing.it works from ui.

On Sat, Apr 4, 2015 at 12:33 PM, Saneth Dharmakeerthi <sane...@wso2.com>
wrote:

> HI Shashika,
>
> Can you manually do the subscription from the same user (amuse...@wso2.com
> )?
> 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 <shashi...@wso2.com
> > 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: amuse...@wso2.com"}
>>
>> 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
>> Dev@wso2.org
>> 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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to