Post

2 followers Follow
0
Avatar

I can't authorize but can get server address

Hi there,

I've try to make authorize response. First, for get server, completed successfully. Then I'm try to login by recieved server URL but authorization not passed (with same credentilas as in first step)

Aleksey Gerasimov Answered

Please sign in to leave a comment.

8 comments

0
Avatar

Hi Aleksey,
If you're using Clarizen Professional edition, the API in unavailable for you. Please contact your customer success manager or sales representative for an upgrade.
I couldn't see your request and result, but please read this post which seems very similar to what you describe:
https://success.clarizen.com/hc/communities/public/questions/205471888-API-2-0-is-not-authorization-for-Login-service
Hope this helps,
Ophir

Ophir Kenig 0 votes
Comment actions Permalink
0
Avatar

So, why, I'm recieve a message - "Username and password do not match." instead "API access is not supported in your current edition"
I've double check my credentials.

Aleksey Gerasimov 0 votes
Comment actions Permalink
0
Avatar

The "GetServerDefinition" may be successful even with a wrong user name/password, especially if sent to api.clarizen.com (api2.clarizen.com is better for this).
Seeing your request and result it's probably because you've sent the user name/ password in the headers.
They should be in the request body. Please refer to the API documentation on:
https://success.clarizen.com/hc/communities/public/questions/203993788-Clarizen-REST-API-Version-2-0
Hope this helps,
Ophir

Ophir Kenig 0 votes
Comment actions Permalink
0
Avatar

P.S. in my settinggs specified
Package Type: Enterprise
I guess it's free trial version.

Aleksey Gerasimov 0 votes
Comment actions Permalink
1
Avatar

Hi Aleksey,
Please do the same for GetServerDefinition. You'll get the correct URL to login with.
Hope this helps,
Ophir

Ophir Kenig 1 vote
Comment actions Permalink