1 Reply Latest reply on Aug 5, 2019 2:24 AM by Shubham Garg

    Trying to Validate Number using Global Phone Validation 2.0

    David Liu New Member

      Hello,

       

      I was trying to validate a number by following the documentation here, https://docs.informatica.com/data-as-a-service/global-phone-validation/2-0.html

       

      This being said, I already got the token after requesting OAuth endpoint. In case you are wondering, this is the request I used,

       

       

       

      Content-Type: application/x-www-form-urlencoded

       

       

      grant_type=client_credentials

       

       

       

      client_secret= xxxx

       

       

      And got a response of,

       

       

      {

       

          "access_token": “xxxxxxxx",

          "token_type": "",

          "expires_in": 863999,

          "example_parameter": ""

      }

       

      I used the access token as a Bearer Token for Authorization header and host

       

      https://ws.strikeiron.com/StrikeIron/GlobalPhoneVal20/GlobalPhoneValidation20/ValidateNumber

       

      for both POST and GET methods.

       

      With POST method, I had the body as a form-data, application/x-www-form-urlencoded, and even application/json with PhoneNumber as key and my cellphone number as the value. With GET method, I had the PhoneNumber as the query string and my cellphone number as the value.

       

      All query has the same output,

       

       

      <WebServiceResponse xmlns="http://ws.strikeiron.com">

       

          <Error>There is no automated trial access available for this Web service. Please either subscribe to this Web

              service or contact support@strikeiron for access.</Error>

      </WebServiceResponse>

      May I know as to why I am getting this error?

       

      Please advise.