Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] 403 Forbidden response when accessing Annotator webservice

Paul R Alexander palexander at
Mon May 20 19:06:06 PDT 2013


Can you try the command like this?

curl -X POST -d 'ontologiesToKeepInResult=1353,1423&format=xml&textToAnnotate=35 yo male with acne vulgaris and inflammatory arthritis&apikey=YOURAPIKEY'


On May 13, 2013, at 12:46 PM, Pieter Sheth-Voss <pieter at> wrote:

> Hi Bioportal Support --
> I'm getting a 403 Forbidden response when querying the Bioportal, saying it requires a valid API key.  But I think I'm using the correct API key, as it works for the search service.  The example webclient works, so the service appears to be working.  What am I likely missing?  
> Thanks!
> curl -X POST -d '{ "ontologiesToKeepInResult": "1353,1423","format": "xml","textToAnnotate": "35 yo male with acne vulgaris and inflammatory arthritis"}'
> where MYAPIKEY is the one shown for me on 
> The result I get is:
> <?xml version="1.0" encoding="UTF-8"?>
> <errorStatus>
>   <accessedResource>/obs/annotator</accessedResource>
>   <accessDate>2013-05-13 12:31:10.891 PDT</accessDate>
>   <shortMessage>Forbidden</shortMessage>
>   <longMessage>A valid API key is required to call REST services. Please visit to get your API key.</longMessage>
>   <errorCode>403</errorCode>
> </errorStatus>
> _______________________________________________
> bioontology-support mailing list
> bioontology-support at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bioontology-support mailing list