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

Test occasionally fail as the VIES API seem to rate limit the requests #42

Open
JanmanX opened this issue Jan 13, 2021 · 1 comment
Open
Assignees

Comments

@JanmanX
Copy link
Contributor

JanmanX commented Jan 13, 2021

======================================================================
1) ERROR: check_vat_number('..', country_code='..')
----------------------------------------------------------------------
   Traceback (most recent call last):
    tests/test_validators.py line 257 in test_dk__country_code
      check_vat_number(vat_number, country_code)
    pyvat/__init__.py line 212 in check_vat_number
      country_code)
    pyvat/registries.py line 133 in check_vat_number
      raise ServerError(fault_code)
   ServerError: ServerError: MS_MAX_CONCURRENT_REQ
   -------------------- >> begin captured logging << --------------------
   urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): ec.europa.eu:80
   urllib3.connectionpool: DEBUG: http://ec.europa.eu:80 "POST /taxation_customs/vies/services/checkVatService HTTP/1.1" 200 None
   --------------------- >> end captured logging << ---------------------
-----------------------------------------------------------------------------
@JanmanX JanmanX self-assigned this Jan 13, 2021
@cyrilballagny
Copy link

Hi! I try to request this service too with some batch queries but I am facing the same limit. Do you have any idea about the rate limit/SLA of VIES? I can't manage to find any details related to this.
Regards

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

No branches or pull requests

2 participants