ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

oauth2 api via python

Heer
7 - Meteor

Hi

 

link

 

i tried the solution from the above link but it doesnt get past 

 

response = requests.post(
self.apiLocation+'/oauth2/token',
  data = {
          'grant_type':'client_credentials',
         'client_id' : self.apiKey,
         'client_secret' : self.apiSecret
                 }
                       )
 
and throws the following error 

 

requests.exceptions.ConnectionError: ('Connection aborted.', error(110, 'Connection timed out'))

 

What am  i missing?

1 REPLY 1
TheOC
16 - Nebula
16 - Nebula

hey @Heer 
Sorry to hear you're having issues with the API.

Have you had a chance to look at the v3 Server API macros? These can be found here:
https://community.alteryx.com/t5/Engine-Works/Introducing-the-Alteryx-Server-v3-API/ba-p/899228

Happy to help you look at your issue in more detail if needed, these may just be a nice way to circumnavigate your issue.

 

Kind Regards,

Owen

Cheers,
TheOC
Connect with me:
LinkedIn Bulien