Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
VijaySekar
Contributor II
Contributor II

Error: could not create/modify connection: CreateConnection is deprecated: Forbidden (403 HTTP 403)

Hi All,

We are building a migration automation application for our clients where we take tableau dashboard and migrate it to qlik by mapping the tableau objects to qlik equivalent objects. We take the tableau xml file and convert it to qlik json equivalent object along with the datasource connections. we are using qlik cli and api comments to build and unbuild the qvf file and during this build/unbuild process. We were able to map the chart objects from tableau to qlik but we were not able to map the datasource connections. we are getting the below error while if we try to add datasource information to the connection.yml file

Error: could not create/modify connection: CreateConnection is deprecated: Forbidden (403 HTTP 403)

If we were able to solve this issue our automation will be a success. Need help on this please.

Labels (4)
1 Solution

Accepted Solutions
mpc
Partner Ambassador
Partner Ambassador

Hi, 

API endpoint CreateConnection doesn't exist anymore, you need to use dataconnection POST endpoint, or dataconnection/many for bulk creation. Body will include all data related to the data connection:

Open API specification for Repository Main API − post /dataconnection | Qlik Sense for developers He...

Best

From Next Decision and mpc with love

View solution in original post

2 Replies
mpc
Partner Ambassador
Partner Ambassador

Hi, 

API endpoint CreateConnection doesn't exist anymore, you need to use dataconnection POST endpoint, or dataconnection/many for bulk creation. Body will include all data related to the data connection:

Open API specification for Repository Main API − post /dataconnection | Qlik Sense for developers He...

Best

From Next Decision and mpc with love
VijaySekar
Contributor II
Contributor II
Author

It works as we expected. We are 95% done with our migration automation. Thanks for the quick response @mpc