Page 1 of 1

InvalidCountryCode error

Posted: Fri Jan 31, 2014 11:24 am
by AntonFrolov
Hi,

To get bibliography for document AP 2150 A I used following query:
http://ops.epo.org/3.1/rest-services/pu ... 0.A/biblio

To get fulltext for document AP 2150 A I used following query:
http://ops.epo.org/3.1/rest-services/pu ... A/fulltext

which returned error message:

<fault xmlns="http://ops.epo.org">
<code>CLIENT.InvalidCountryCode</code>
<message>
At least one reference in the request has a unsupported country code: Request for fulltext for com.espacenet.domain.core.impl.PatentApplicationImpl: key=DocumentKeys$DocumentKeyImpl: contains NumberTriple: CC='AP', NUM='2150', KC='A', input='null', format=DOCDB; pubCycle=null; was deemed invalid.
</message>
</fault>

If this document doesn't contain fulltext, expected message is

<fault>
<code>SERVER.EntityNotFound</code>
<message>No results found</message>
</fault>

Why in case of country AP I get CLIENT.InvalidCountryCode error?

Re: InvalidCountryCode error

Posted: Mon Feb 03, 2014 10:43 am
by EPO / OPS Support
Dear user,

We will check that - its seems we have no full text but your are correct about error message being wrong.

I will get back to you on that,

Kind regards,

OPS support