Error 400: Attachment is Empty for Solarwinds SGC

DarOB
Tera Contributor

Hello,

 

I am getting the below error when running a data source from the Solarwinds Service Graph Connector:

com.snc.process_flow.exception.ProcessAutomationException: Error creating Attachment raw_page_stream : Method failed: (/api/now/hub/temporaryattachment) with code: 400 with reason: Attachment is empty

 

I have confirmed that the credentials being used can login to the solarwinds instance.

glide.attachment.extensions also doesn't have a value and allows all file extensions as I have seen a KB saying that could be the problem ( KB0866858 )

 

Can anybody please advise?

 

Thanks

15 REPLIES 15

DarOB
Tera Contributor

Tried 17774 but same issue. ServiceNow originally said that the issue was with a certification where the hostname in the config did not match the CN name on the certificate. Is there an easy way to get that cert which was created from the SGC on the mid server re-generated?

TCP/17778 is deprecated as release of SolarWinds 2023.1 Introduced a new port 17774 for the SWIS REST API.

I have learned it by hard when one of my clients upgraded SolarWinds and SG connector stopped working.

Correct, starting with Solarwinds 2024.4 only TCP/17774 is available to connect thru API.

Below this version both can be accepted 17778 & 17774 depends on the configuration.

Hi @The ITOM Bart - what was your solution to resolve this? 

You just need to change the connection string, you can use the URL builder with the correct port.

That's it.