/build/static/layout/Breadcrumb_cap_w.png

API connection error

Hi Everyone.


I am trying to use API to create tickets. I followed all the instructions in the documentation but I received this error when I tried to create a ticket

{

    "errorCode"-1,    "errorDescription""No Current Organization Selected"}
When I created the token I used these keys


{    "password"{{KACE_PASS}},    "userName"{{KACE_USER}},    "organizationName""Default"}


I don't know how to fix it or where I can find the logs for troubleshooting.


(I'm using postman for testing)

Could you help me?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: KevinG 3 years ago
Red Belt
0

You will not be able to create a ticket during the authentication process.

Once authenticated, you save the x-dell-csrf-token to use in sequential API calls.

You may want to export your Postman collection so we can see what you are missing?


If you are familiar with Python, this example may help.

https://www.itninja.com/question/how-to-solve-api-disabled-error


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ