AnsweredAssumed Answered

"error":"client_too_new" attempting to get authentication token

Question asked by Roguen Keller on Dec 13, 2017
Latest reply on Feb 12, 2018 by Roguen Keller


I am trying to get an authentication token to enable further API calls, but having an issue with my statement

 

My curl statement looks like the following taken from the following documentation:

http://hitachi-data-systems.github.io/anywhere-fss-sdk/fss-api-doc/#FSSAPI/authentication/fssapi-authAuth.htm

curl https://myHCPAnywhereInstanceDomain/fss/public/login/oauth -iku "myPlainTextUserName:myPlainTextPassword" -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/json" -H "X-HCPAW-FSS-API-VERSION: 3.0.3" -d 'grant_type=urn:hds:oauth:negotiate-client'

 

And the response I receive looks like this

HTTP/1.1 400 Bad Request

Strict-Transport-Security: max-age=31536000; includeSubDomains

X-Content-Type-Options: nosniff

X-XSS-Protection: 1; mode=block

X-Frame-Options: SAMEORIGIN

Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'

X-Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'

X-HCPAW-SUPPORTED-FSS-API-VERSIONS: 2.1.1,3.0.0,3.0.3

X-HCPAW-System-Id: xxxx-xxxxxxxx (hidden)

Content-Type: application/json;charset=UTF-8

Content-Length: 26

Date: Wed, 13 Dec 2017 15:54:32 GMT

Connection: close

Server: hcpaw

 

{"error":"client_too_new"}

 

Some of the things I have checked

-Logged into the admin console and confirmed that this was version 3.0.3

-Followed the steps identified here to confirm that FSS is enabled: http://hitachi-data-systems.github.io/anywhere-fss-sdk/fss-api-doc/#FSSAPI/introduction/fssapi-IntroEnablingFSSAPI.htm%3…

-wrote this out by hand, so the quotes used in my statement will not result in a cut/paste error

 

My questions are:

  1. Am I making this call correctly?
  2. If so, what does "client_too_new" mean and how can I correct it?

Outcomes