You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Credentials
Application APPNAME
client_id APIKEY
client_secret serret23sdffd
Status: active
Created: 2 hours ago
When I run the code I get an error:
Traceback (most recent call last):
File "inf.py", line 8, in <module>
print(infusionsoft.ContactService('add', contact))
File "/root/miniconda/lib/python3.6/site-packages/infusionsoft/library.py", line 21, in function
return call(self.key, *args)
File "/root/miniconda/lib/python3.6/xmlrpc/client.py", line 1112, in __call__
return self.__send(self.__name, args)
File "/root/miniconda/lib/python3.6/xmlrpc/client.py", line 1452, in __request
verbose=self.__verbose
File "/root/miniconda/lib/python3.6/xmlrpc/client.py", line 1154, in request
return self.single_request(host, handler, request_body, verbose)
File "/root/miniconda/lib/python3.6/xmlrpc/client.py", line 1166, in single_request
http_conn = self.send_request(host, handler, request_body, verbose)
File "/root/miniconda/lib/python3.6/xmlrpc/client.py", line 1279, in send_request
self.send_content(connection, request_body)
File "/root/miniconda/lib/python3.6/xmlrpc/client.py", line 1309, in send_content
connection.endheaders(request_body)
File "/root/miniconda/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/root/miniconda/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/root/miniconda/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/root/miniconda/lib/python3.6/http/client.py", line 1392, in connect
super().connect()
File "/root/miniconda/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/root/miniconda/lib/python3.6/socket.py", line 704, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/root/miniconda/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
The text was updated successfully, but these errors were encountered:
I've copy-pasted an example from here https://github.com/infusionsoft/Official-API-Python-Library/blob/master/example.py
Got app name and the key from here:
https://keys.developer.infusionsoft.com
When I run the code I get an error:
The text was updated successfully, but these errors were encountered: