Forum Discussion

maheswara's avatar
maheswara
New Contributor II
2 years ago
Solved

Unable to load account definition

Hi Team, 

I developing custom snap. I am using account type is custom. so now i am written my logic and deployed to snapLogic now i am getting error like below.

"Unable to load account definition, Reason: Account named "snap" does not exist, Resolution: Update the account for this snap".

Please help in this if anyone knows the solution.

 

8 Replies

  • svatada's avatar
    svatada
    Former Employee

    Are you able to validate account?

    Are you using expressions in snap and passing account name from pipeline parameters?

    • maheswara's avatar
      maheswara
      New Contributor II

      Thanks.now it's working fine.Related to account issue.

      • svatada's avatar
        svatada
        Former Employee

        maheswara Can you post the problem and how you resolved it here? This will be a good reference and helpful for anyone who encounters a similar issue.

        Thanks.

  • svatada's avatar
    svatada
    Former Employee

    maheswara  Please check if you have defined the absolute path of the account classes in pom.xml.

    Additionally, in the Snap class, check if the account has been added using the @Accounts annotation, as shown below.