Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

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?

1 REPLY 1
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