Skip to content

Exception: The session id is not in a valid format. (4001) #9

@langfingaz

Description

@langfingaz

Thanks for creating/maintaining this python package! I use it to periodically updated the DNS entry with a possibly new IP address of my server.

However, more than once a day I get this error message:

┃     File "/usr/lib/python3.10/site-packages/nc_dnsapi/__init__.py", line 166, in dns_records
┃       data = self.request("infoDnsRecords", params={"domainname": domain})
┃     File "/usr/lib/python3.10/site-packages/nc_dnsapi/__init__.py", line 98, in request
┃       raise Exception("{} ({})".format(data['longmessage'], data['statuscode']))
┃   Exception: The session id is not in a valid format. (4001)

I couldn't find information about the status code, so not sure what this means (https://ccp.netcup.net/run/webservice/servers/endpoint.php).

Have you seen this error before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions