Showing results for 
Search instead for 
Did you mean: 

Dev Space

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

Publishing workflows with encrypted password to the Gallery


When I try to save a workflow to the Gallery, I get an error: 



RuntimeError: InternalError: DecryptPassword - buffer too small.


this error happens in Python SDK's decrypt_password and on the client I use the following to encrypt:


.postJsEventWithCallback('Encrypt', { text: this.state.apiToken, encryptionMode: 'machine' }, function (encryptedToken) {


I've noticed that Saleforce Input Tool uses the same method of encryption, but I don't get the same error when publishing workflows using it. 

How can I achieve the same with my tool?



Hi @pavloko, this looks like it could be a defect. Do you get this error when you run the tool in Designer or is it isolated to Gallery runs? Can you share the source code for your tool with  me?