Upgrading Server to version 22.1? We’ve enabled the faster AMP engine by default. Read about how these system settings changes might affect you.

We’re aware of an intermittent issue with our My Alteryx login and are actively working to have the issue corrected. If you run into an error when logging in, please try clearing all cookies or accessing the community on a different browser. Thank you for your patience!

Dev Space

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.

Unable to connect to Alteryx Gallary through Python API.

rsamineni
5 - Atom

I’m trying to connect to Alteryx Gallery using the Alteryx API through python programming.

But it always failed to connect and return the error “'message': 'The provided signature(oauth_signature) is invalid.'”.

I double check the API key and secret, and I was able to connect to the Gallery interactively with same key and secret “https://gallery.alteryx.com/api-docs/”. 

 

C:\Users\Employee\AppData\Local\Programs\Python\Python39\python.exe C:/Users/Employee/PycharmProjects/tmp/AlteryxGalleryAPI/AlteryxGalleryAPI/apiTestVersion2.py

b'cUR1GLrvC6TXsnNHEongxK34Qlc='

cUR1GLrvC6TXsnNHEongxK34Qlc%3D

{"data":null,"exceptionName":"UnauthorizedException","innerExceptionMessage":"","message":"The provided signature(oauth_signature) is invalid."}

(<Response [401]>, {'data': None, 'exceptionName': 'UnauthorizedException', 'innerExceptionMessage': '', 'message': 'The provided signature(oauth_signature) is invalid.'})

 

Please help me to get this resolved.

1 REPLY 1
PetrT
Alteryx
Alteryx

Hi @rsamineni , how do you exactly call the API and how do exactly sign your requests? Sharing your code could help.