Skip to content

Conversation

@Shimrockx
Copy link

This pull request address the issue #19.

Fixing the following traceback :

Traceback (most recent call last):
  File "/etc/dehydrated/hooks/ovh/hook.py", line 199, in <module>
    main(sys.argv[1:])
  File "/etc/dehydrated/hooks/ovh/hook.py", line 195, in main
    ops[action](args)
  File "/etc/dehydrated/hooks/ovh/hook.py", line 109, in create_txt_record
    refresh_ovh_dns_zone(domain)
  File "/etc/dehydrated/hooks/ovh/hook.py", line 89, in refresh_ovh_dns_zone
    client.post('/domain/zone/{0}/refresh'.format(domain))
  File "/usr/local/lib/python3.9/dist-packages/ovh/client.py", line 320, in post
    return self.call('POST', _target, kwargs, _need_auth)
  File "/usr/local/lib/python3.9/dist-packages/ovh/client.py", line 401, in call
    raise InvalidResponse("Failed to decode API response", error)
ovh.exceptions.InvalidResponse: ('Failed to decode API response', 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

Successfully merging this pull request may close these issues.

2 participants