oauth2 api via python
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Heer
7 - Meteor
‎08-08-2023
03:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi
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?
Labels:
- Labels:
- API
1 REPLY 1
15 - Aurora
‎08-09-2023
06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
