Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

[ISSUE] - Initiate ET client throwing Runtime modeler execption #137

Open
1 of 4 tasks
ravivenkateshs1994 opened this issue Apr 13, 2022 · 1 comment
Open
1 of 4 tasks
Labels

Comments

@ravivenkateshs1994
Copy link

ravivenkateshs1994 commented Apr 13, 2022

Describe the bug
Getting Runtime modeler exception when we create new ETClient

To Reproduce
Steps to reproduce the behavior.

Expected behavior
ETClient is initiated

Screenshots
If applicable, add screenshots to help explain your problem.
image

Code snippet

    try {

        LOGGER.debug("Creating Exact Target client");
        ETClient client = new ETClient("src/main/resources/fuelsdk.properties");
        LOGGER.debug("Creating Refresh Token");

        client.refreshToken();
        LOGGER.debug("Access Token Generated");
        token = client.getAccessToken();
       LOGGER.debug("Access Token :: "+token);

    } catch (ETSdkException e) {
        LOGGER.debug("SDK Exception :: "+e.getMessage());
    }

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (e.g. gif) is not sufficient.

Environment

  • SDK Version 1.5.0
  • Java/ JDK version - JDK 1.8

The bug has the severity

  • Critical: The defect affects critical functionality or critical data. It does not have a workaround.
  • Major: The defect affects major functionality or major data. It has a workaround but is not obvious and is difficult.
  • Minor: The defect affects minor functionality or non-critical data. It has an easy workaround.
  • Trivial: The defect does not affect functionality or data. It does not even need a workaround. It does not impact productivity or efficiency. It is merely an inconvenience.

Additional context
Add any other context about the problem here.

@satishkchoudhary
Copy link

private void buildClients() throws ETSdkException {
authConnection = new ETRestConnection(this, authEndpoint, true);
requestToken();
restConnection = new ETRestConnection(this, endpoint);
fetchSoapEndpoint();
soapConnection = new ETSoapConnection(this, soapEndpoint, accessToken);
}

Exception thrown at - soapConnection = new ETSoapConnection(this, soapEndpoint, accessToken);

Can somebody help here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants