Alteryx Server Discussions

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

Alteryx Server API - Add workflow to Collection

paul_houghton
12 - Quasar

Im using the API for migrating content from one server to another. Im using the Server API tool in an Alteryx workflow but im getting an "access denied"/"forbidden" error. In the same workflow Im successfully connecting to get messages and other processes to post messages (eg: the users > collection endpoint). 

 

I have created the collections using the API and am using a curator api key. 

 

So why would the workflow > collections endpoint throw the forbidden error when all other endpoints work?

2 REPLIES 2
paul_houghton
12 - Quasar

I have managed to identify the issue, I (as admin) was not the owner of the workflow so couldnt access the workflow to put it in a collection. to do the migration process i need to create the collection first and add the collection id as part of the workflow upload step

 

BonusCup
11 - Bolide

@paul_houghton 

 

I'm in the process of trying to move workflows from our sandbox to our Prod server.  I have a workflow that downloads a .yxzp of the workflow to a temp folder but I'm having issues trying to upload to the Prod server.  Is it possible to share a generic copy of your workflow?

 

Thanks