Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epodoc biblio url not found #50

Open
YojanaGadiya opened this issue Jun 30, 2021 · 8 comments
Open

Epodoc biblio url not found #50

YojanaGadiya opened this issue Jun 30, 2021 · 8 comments
Labels

Comments

@YojanaGadiya
Copy link

YojanaGadiya commented Jun 30, 2021

When I try to query using Epodoc, I always get the same issue:

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://ops.epo.org/3.2/rest-services/register/publication/epodoc/biblio

Is there something I am missing in the code?

data = 'EP07102956'
client = Client(key=USER, secret=PASS)  # Instantiate client
response = client.register(
        reference_type='publication',
        input=models.Epodoc(data),
  )
 print(response.text)
@gsong
Copy link
Member

gsong commented Aug 30, 2022

You can test your query at https://developers.epo.org/ops-v3-2/apis/post/register/%7Btype%7D/%7Bformat%7D/biblio and you'll get the same result.

For example, if you query for EP1000000 then you get a response. So you must query for a valid number.

@gsong gsong closed this as completed Aug 30, 2022
@amani-acog
Copy link

Hi,
I got the same exception as above mentioned when I tried with EPODOC. I gave a valid Patent number and tried in OPS API, which gives a proper response. Please look into it.

@gsong
Copy link
Member

gsong commented Aug 24, 2023

Hi, I got the same exception as above mentioned when I tried with EPODOC. I gave a valid Patent number and tried in OPS API, which gives a proper response. Please look into it.

Can you supply more info, e.g. what patent number? And maybe share the snippet of code you're using.

@amani-acog
Copy link

amani-acog commented Aug 24, 2023 via email

@gsong
Copy link
Member

gsong commented Aug 24, 2023

Output from OPS: [image: Screenshot 2023-08-24 at 10.32.26 PM.png]

Sorry, can't see the output from OPS, can you edit your comment to include the screenshot properly?

@amotl amotl reopened this Aug 24, 2023
@amani-acog
Copy link

amani-acog commented Aug 25, 2023 via email

@amotl
Copy link
Member

amotl commented Jan 15, 2024

Dear @amani-acog,

thank you for writing in. Regarding your most recent report at #50 (comment), we just verified it works (aka. the response is 200 OK) when using input=Epodoc('WO2008110632', 'A1').

The constructor argument signature is (number, kind_code=None, date=None). Your example, using Epodoc('2008110632', 'WO', 'A1'), assigned the slots differently, and probably erroneously.

As we are just starting to read about the details here, please educate us if that doesn't solve your problem already.

With kind regards,
Andreas.

@amotl
Copy link
Member

amotl commented Jan 15, 2024

Dear @YojanaGadiya,

also thanks for writing in, and apologies for the late reply.

As @gsong mentioned in his response, the input patent number EP07102956 is probably wrong, or this patent does not exist / has been retracted and deleted for whatever reasons (the latter should not happen in general, but who knows).

The only documents in patent literature we are able to discover after conducting a quick search, which include this number, are JP7102956B2, US7102956B2, and NL7102956A.

So, do you think it might just have been a typo of some sort, or do you have any other explanation? Personally, I would be interested in the title and IPC classifications of this patent, or other details, in order to eventually find out about its whereabouts.

With kind regards,
Andreas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants