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

Error: 113004 #197

Open
chava2708 opened this issue Oct 19, 2023 · 1 comment
Open

Error: 113004 #197

chava2708 opened this issue Oct 19, 2023 · 1 comment

Comments

@chava2708
Copy link

When I tried to send 4 messages one after the other, it displayed that error

[2023-10-20 03:16:41,774] ERROR in app: Exception on /mandarMensaje [POST]
Traceback (most recent call last):
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/flask/app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/root/Documentos/python/sms_api/api_sms.py", line 19, in mandarMensaje
return jsonify(men.mandaMensaje(mensaje))
File "/root/Documentos/python/sms_api/mensaje.py", line 17, in mandaMensaje
if client.sms.send_sms([self.numero], mensaje) == ResponseEnum.OK.value:
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/huawei_lte_api/api/Sms.py", line 175, in send_sms
('Date', Tools.datetime_to_string(from_date))
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/huawei_lte_api/Session.py", line 215, in post_set
self._post(endpoint, data, refresh_csrf, prefix, is_encrypted, is_json)
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/huawei_lte_api/Session.py", line 34, in wrapped
return fn(*args, **kw)
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/huawei_lte_api/Session.py", line 254, in _post
response_data = cast(str, self._check_response_status(self._process_response_data(response)))
File "/root/Documentos/python/sms_api/sms-api-env/lib64/python3.6/site-packages/huawei_lte_api/Session.py", line 158, in _check_response_status
error_code
huawei_lte_api.exceptions.ResponseErrorException: 113004: Unknown

@Salamek
Copy link
Owner

Salamek commented Oct 19, 2023

Maybe some kind of rate limiting?

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