Service Graph connector for AWS - Setup issue - Test Load 20 Records

Tracy Li Gao
Kilo Guru

My project need to integration ServiceNow with AWS for cloud discovery, need to verify the solution for the moment.

On my PDI, I have installed Discovery, Service Graph Connector for AWS and other dependency plugins.

Then setup the Service Graph connector for AWS according to the online doc below get error at step 7 e & f

https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/configuration-management/concept/cmdb-integration-aws-sg.html

7. On the left side bar, click the Configure the connection icon () and do the following:

c. Enter the Service Account credentials created in the management account in the Access Key ID and Secret Access Key fields.

Configure AWS Access Key ID, Secret Access Key with the all the privileges as admin.

Screenshot: AWS Credentials.png

...

e. In the Test the connection section, clickConfigure.

f. Click theTest Load 20 Recordsrelated link.

Screenshot: AWS Credentials.png

 

get error:
 org.mozilla.javascript.JavaScriptException: Unable to get Organization Account details. Please check your AWS Setup (sys_script_include.8a1235ed53cb3010a3e4ddeeff7b12c7.script; line 36)

 

From system log, it shows

Exception occurred while getting Organization details, Error Message: undefined

Screenshot:  System log.png

I changed the value of Secret Access Key with an incorrect value, the same error.

I feel the connection have issue. Any idea to resolve or further investigate?

Thank you in advance.

1 ACCEPTED SOLUTION

Tracy Li Gao
Kilo Guru

As the error is: Exception occurred while getting Organization details, Error Message: undefined

I checked the AWS account and organization, find there is no organization yet.

After create organization, then Test Load 20 Records again, it works.

Please check attachment: Test Load 20 Records_Success.png

View solution in original post

6 REPLIES 6

Tracy Li Gao
Kilo Guru

As the error is: Exception occurred while getting Organization details, Error Message: undefined

I checked the AWS account and organization, find there is no organization yet.

After create organization, then Test Load 20 Records again, it works.

Please check attachment: Test Load 20 Records_Success.png

Pranav Patil
Tera Contributor

where to create the organization ? 

Below web page would help:

How do I get started with AWS Organizations?
https://aws.amazon.com/premiumsupport/knowledge-center/get-started-organizations/?nc1=h_ls

Aarti6
Mega Guru

@Tracy Li Gao Did you get the solution? I am facing same issue.