Thanks Tharindu,
After adding Api provider as amuser11-AT-wso2.com solved the issue.

On Sat, Apr 4, 2015 at 8:32 PM, Tharindu Dharmarathna <tharin...@wso2.com>
wrote:

> Hi Saneth,
>
> I checked with Shashika regarding this issue  happen when give provider
> name incorrectly. Because We are replacing '@' mark in tenant domain
> seperation in provider in to '-AT-'  therefore we have to give provider
> name  by replacing @ mark from that '-AT-' mark .
>
>
> Thanks
> Tharindu
>
> On Sat, Apr 4, 2015 at 1:19 PM, Saneth Dharmakeerthi <sane...@wso2.com>
> wrote:
>
>> 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 <
>> shashi...@wso2.com> wrote:
>>
>>> 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
>>
>>
>
>
> --
>
> *Tharindu Dharmarathna*Associate Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94779109091 <%2B94779109091>*
>



-- 
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