I need help authenticating to the api

I can get this working in postman fine, so I added another app so i can try to get it working on my web server.
first I tried


I went into the admin section of my orca tenant and setup a confidential app, separate from the one I’m using for postman. and I got the app id from there, and the redirect url points to a script on my server to record the response just encase it doesn’t show up on screen.
when I do that I get “unknown error #200” from UiPath domain it doesn’t even get to the redirect

so next I tried sending a post request to https://cloud.uipath.com/identity_/connect/token
with the fields

    grant_type: "client_credentials"
    client_id: "{app_id}"
    client_secret: "{app_secret}"
    scope: "{scopes}"

again using the app id and secret from the external app i configured, used the same scopes as above. I get “unauthorized_client”

then I tried to send a post to https://platform.uipath.com/api/account/authenticate
this time I set the content type header to JSON and also JSON encoded the items in the post body

    "tenancyName" : "DefaultTenant",
    "usernameOrEmailAddress" : "{myemail@address.com}",
    "password" : "{mypassword}"

that is the name of the Tenant, and I used the same e-mail and password that use to log into orca in the request and I get “Invalid Credentials”

I do have the community version, and I can’t figure out what I’m doing wrong. I can put up screen shots if it helps. Can some one help me here?
I want to be able to integrate launching bots and getting their status into my website. and when i try doing those tasks in postman it works perfectly. but i can’t seem to auth any other way. and as far as I can tell I got both setup the same.

Hello @rodney_johnson1!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly