Hi Shib,

Probably there should be an database entry of the same "context" you are
defining here. As above replies explain, this could be due to partially
deleted APIs.
Could you please check AM_API table in AM_DB and see whether there is a
CONTEXT_TEMPLATE with the same context you are trying to define here?

Thanks,
DinushaD.


On Fri, Jun 8, 2018 at 12:50 PM, shibsankar <[email protected]> wrote:

> There is no API  in publisher application.
>
> I'm still getting * Duplicate Context Value *when trying to add a new
> API  in Design page.
>
> Please see the screenshot attached.
>
> Regards
> Shib
>
>
> On Fri, Jun 8, 2018 at 10:51 AM, Dushani Wellappili <[email protected]>
> wrote:
>
>> Hi Shib,
>>
>> If you have deleted the API from the management console, then it is
>> likely you are getting this issue since deleting api in the management
>> console does not delete the whole api. It removes the data in the registry
>> (meta data). To delete api use publisher application.
>>
>> Thank you.
>>
>> Regards,
>>
>> *Dushani Wellappili*
>> Software Engineer - WSO2
>>
>> Email : [email protected]
>> Mobile : +94779367571
>> Web : https://wso2.com/
>>
>>
>>
>>
>> On Fri, Jun 8, 2018 at 10:01 AM Krishan Wijesena <[email protected]>
>> wrote:
>>
>>>
>>>
>>> On Thu, Jun 7, 2018 at 6:50 PM, shibsankar <[email protected]> wrote:
>>>
>>>> Hi,
>>>> I have *deleted *published API, subscribed API  from WSO2. Now there
>>>> is no more API  in WSO2.
>>>> You cannot delete API if active subscriptions exists, which apporach
>>>> did you used to delete the API?
>>>>
>>>     because basically this error occur if previous API have same context
>>> value and it's partally deleted.
>>>
>>>>
>>>> Restarted the WSO2 server.
>>>>
>>>>
>>>> Now when I  try to add a New API ,  I'm still getting *Duplicate
>>>> context value *in API  design page.
>>>>
>>>> Why is this happening? How to fix this?
>>>>
>>>> Please see the screenshot attached.
>>>>
>>>> WSo2 version is 2.1
>>>>
>>>> Regards
>>>> Shib
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Krishan Wijesena*
>>> Software Engineer | WSO2
>>>
>>> Email : [email protected]
>>> Mobile : +94776219923
>>> WSO2 Inc : http://wso2.com
>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dinusha Dissanayake
Software Engineer
WSO2 Inc
Mobile: +94712939439
<https://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to