Reltio Connect

 View Only
  • 1.  pot-mat-data-extract util - APICallFailure Exception

    This message was posted by a user wishing to remain anonymous
    Posted 17 days ago
    This message was posted by a user wishing to remain anonymous

    Hello! I am encountering an issue while attempting to run a pot-mat-data-extract utility jar on my local machine. I have provided all the necessary connection properties in the configuration file. I am using the same username and password to obtain tokens and execute API calls. The API calls are working without any problems. However, when I try to run this utility, I receive the following exception: Exception in thread "main" com. reltio.cst.exception.handler.APICallFailureException. - Auth Call Failed: Error Code = 400 |||| Error Message: {"error":"invalid_grant","error_description":"Invalid Username or Password"}. Can someone please guide me on how to correctly send the credentials to execute this utility jar? Thank you!



  • 2.  RE: pot-mat-data-extract util - APICallFailure Exception

    Posted 16 days ago

    Here is an example of the properties file we use for this process:

    HEADER_REQUIRED=Yes
    RECORDS_PER_POST=100
    EXTRACT_PER_RULE=false
    TRANSITIVE_MATCH=false
    ENVIRONMENT_URL=test.reltio.com
    ENTITY_TYPE=Individual
    OUTPUT_FILE=ROCS_export.csv
    OV_ATTRIBUTE_FILE=TEST4_extract_attributes.txt
    FILE_FORMAT=CSV
    THREAD_COUNT=20
    TENANT_ID=zzzzzzzzz
    USERNAME=uuuuuuuuuuuuuuuuuuuuuuuuuuu
    AUTH_URL=https\://auth.reltio.com/oauth/token
    PASSWORD=ppppppppppppppppppppppppp

    username/password are free text and then get encrypted at first execution.
    Check for trailing spaces, special characters?

    Cheers

    Jim Mattheiss
    Scholastic Inc.



    ------------------------------
    James Mattheiss
    Scholastic Inc
    New York NY
    ------------------------------



  • 3.  RE: pot-mat-data-extract util - APICallFailure Exception

    Posted 15 days ago

    James, thank you for your response. However, the pot-mat-data-extract utility jar requires client_credentials. What should I provide for client_credentials?





    ------------------------------



  • 4.  RE: pot-mat-data-extract util - APICallFailure Exception

    Posted 15 days ago
    My apologies - I misunderstood what you were asking.

    In our implementation we are using username/password.  You want to use the alternate "client credentials" method.

    The only help I can provide is the note from the Quickstart:

    #This property used for to get the access token using client_credentials grant type. The value for this property can be obtained by encoding the client name and secret separated by colon in Base64 format. (clientname:clientsecret)
    CLIENT_CREDENTIALS=

    Cheers

    Jim Mattheiss