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

HEY CAN YOU HELP WITH THIS ERROR PLEASE #2

Open
OMBRELLA666 opened this issue Dec 7, 2022 · 0 comments
Open

HEY CAN YOU HELP WITH THIS ERROR PLEASE #2

OMBRELLA666 opened this issue Dec 7, 2022 · 0 comments

Comments

@OMBRELLA666
Copy link

error code returned
{'Status': 'Failure', 'Error': 'NotAuthorised', 'Country': 'N/A', 'Iso': 'RU', 'Prices': []}
error code returned
{'Status': 'NotAuthorised', 'Error': 'NotAuthorised', 'Balance': 0.0}
Traceback (most recent call last):
File "/home/epitech/twitter_accounts_creator-master/main.py", line 147, in
main(None)
File "/home/epitech/twitter_accounts_creator-master/main.py", line 138, in main
TwitterCreator.read_configuration()
File "/home/epitech/twitter_accounts_creator-master/main.py", line 40, in read_configuration
pva(pva_service["base_url"],
File "/home/epitech/twitter_accounts_creator-master/pva/sms_pva.py", line 10, in init
self.service_price = self.get_service_price()
File "/home/epitech/twitter_accounts_creator-master/pva/sms_pva.py", line 30, in get_service_price
response = self.send_request(self.base_url, payload)
File "/home/epitech/twitter_accounts_creator-master/pva/pva_api.py", line 70, in send_request
response = requests.get(url,
File "/usr/lib/python3.9/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib64/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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

1 participant