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] Getting error 'Invalid credentials supplied'

Xin.H hxin87 at gmail.com
Fri Oct 11 11:59:33 PDT 2013


Hi,

Thank you very much Jael for the tips.

I was using the example perl script from
https://bmir-gforge.stanford.edu/gf/project/client_examples/scmsvn/?action=browse&path=%2Ftrunk%2FPerl%2FAnnotator-Perl%2Fannotator.pl&view=markup
which
use the old URL for the Annotator (http://rest.bioontology.org/obs/annotator
).

It works now for me when I change it to
http://data.bioontology.org/annotator.(And some of the parameter needs to
be change for the new API as Jael mention
http://data.bioontology.org/documentation#nav_annotator  )

Cheers,
Xin


On 11 October 2013 19:31, Jael GarcíaCastro <leyla.jael.garcia at gmail.com>wrote:

> Hi all,
>
> I had the same problem early this week. I managed to work with the URL
> http://rest.bioontology.org/obs/annotator from Java. However, the API has
> changed. In case it is useful for you, this is what bioportal support
> people told me:
>
> The new API code is released at data.bioontology.org, so you should point
>> there and not stagedata.bioontology.org (this is our testing platform).
>>
>> rest.bioontology.org is essentially deprecated as of now, so new fixes
>> won't end up there.
>>
>
> You can find some documentation at
> http://data.bioontology.org/documentation#nav_annotator
>
> Hope it helps,
> Jael
>
>
> On Fri, Oct 11, 2013 at 6:35 PM, Michael Horvath <mhorvath at wakehealth.edu>wrote:
>
>>  I signed up earlier in the week and have been getting the same result
>> with any api call.****
>>
>> ** **
>>
>> *From:* bioontology-support-bounces at lists.stanford.edu [mailto:
>> bioontology-support-bounces at lists.stanford.edu] *On Behalf Of *Xin.H
>> *Sent:* Friday, October 11, 2013 1:25 PM
>> *To:* support at bioontology.org
>> *Subject:* [bioontology-support] Getting error 'Invalid credentials
>> supplied'****
>>
>> ** **
>>
>> Hi,****
>>
>> ** **
>>
>> I just created a new account and was trying to use the Annotator sample
>> perl script  when I got this error:****
>>
>> <?xml version="1.0" encoding="UTF-8"?>****
>>
>> <errorStatus>****
>>
>>   <accessedResource>/obs/annotator</accessedResource>****
>>
>>   <accessDate>2013-10-11 10:18:11.60 PDT</accessDate>****
>>
>>   <shortMessage>Forbidden</shortMessage>****
>>
>>   <longMessage>Invalid credentials supplied: apiKey =
>> f4f6d2e7-7726-402c-a4b0-6dfc533ad94e. Please visit
>> http://bioportal.bioontology.org/account to get your API
>> key.</longMessage>****
>>
>>   <errorCode>403</errorCode>****
>>
>> </errorStatus> at Fri Oct 11 18:18:13 2013****
>>
>> ** **
>>
>> I also tried the HTML client( http://rest.bioontology.org/test_oba.html)
>> and got the same result.  I am sure that I am using the right key but
>> somehow it doesn't work. Then I try creating another account and  the same
>> happen. Could you help me with this? ****
>>
>> ** **
>>
>> Many thanks,****
>>
>> Xin****
>>
>> _______________________________________________
>> bioontology-support mailing list
>> bioontology-support at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/bioontology-support
>>
>>
>
> _______________________________________________
> bioontology-support mailing list
> bioontology-support at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/bioontology-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20131011/f321bc61/attachment-0001.html>


More information about the bioontology-support mailing list