sailpoint-oss / sailpoint-cli

The SailPoint Command Line Interface (CLI) makes it easy to interact with SailPoint's SaaS Platform in a programmatic way. Many functions that use to be accomplished through tools like Postman or from custom scripts can now be done directly on the command line with minimal setup.
https://developer.sailpoint.com/discuss
MIT License
25 stars 19 forks source link

[BUG] Getting 404 error when uploading connector #24

Closed colin-mckibben-sp closed 1 year ago

colin-mckibben-sp commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

When using sail conn upload -c test-conn-1 -f dist\test-conn-1-0.1.0.zip, the following error is encountered:

POST /beta/platform-connectors/test-conn-1/versions HTTP/1.1
...
HTTP/2.0 404 Not Found

However, the command sail conn list works.

To Reproduce Steps to reproduce the behavior:

Create a new connector using the CLI and attempt to upload it to your tenant.

Expected behavior A clear and concise description of what you expected to happen.

The command should succeed, and the connector should be uploaded to my IDN tenant.

Actual behavior A clear and concise description of what actually happens.

The command fails with a 404 not found error.

Screenshots If applicable, add screenshots to help explain your problem.

Operating System (please complete the following information):

Additional context Add any other context about the problem here.

PiotrTraczynski commented 1 year ago

It is ok. I did not created connector before upload. sorry

ashley-george-sp commented 1 year ago

Resolved as the connector was not created. Confirmed with Piotr