Error 400: Attachment is Empty for Solarwinds SGC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 10:45 AM - edited 04-04-2024 10:48 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2024 07:00 AM
Hi @DarOB ,
Please check the SGC Solarwind connector must be updated version if not update the latest version from ServiceNow Store, Also check for below things.
Be sure that the SolarWinds Account has sufficient roles to pull the attachment you are targeting. The REST call to SolarWinds fails with a 403 error which is a permissions error, and the flow has error "Error creating Attachment raw_page_stream : Method failed: (/api/now/hub/temporaryattachment) with code: 400 with reason: Attachment is empty".
My Solarwinds admin changed the user I was using for the connector to an admin.
I was able to connect and then he changed it back to read only access for the user and it kept working.
You might want to try that.
Also, the connection type I'm using is Data Stream (IntegrationHub)
Also refer this as well, Might be any of one will help you.
-
This problem has been fixed in KB0866858.
- If you are able to upgrade, review the Fixed In section (within KB0866858) to determine the latest version with a permanent fix your instance can be upgraded to.
- The workaround is to add a valid extension to the attachment_name from system property "glide.attachment.extensions", ie "rest_action_response_boy.json"
- Alternatively, set the system property "glide.attachment.extensions" to null/empty.
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 05:07 AM
Hi,
What port are you using within the SGC connection record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 01:55 AM
@hakan 17778

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 03:44 AM - edited 10-18-2024 01:30 AM
my problem was resolved after changing the port number to 17774