table name missing error in attachment rest API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 08:51 AM
I am working on a incident Servicenow-Servicenow ebonding. When i am trying to send the attachment from one instance to other i am getting error in the resonse code-"{"error":{"detail":null,"message":"Missing parameter: table_name"},"status":"failure"}"
I have written a BR on sys_attachment table-
Please find the REST message below-

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 09:07 AM
Code and settings seem alright. Have you tested it from REST Message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 09:11 AM
Can you log the request body before the execute
var body = request.getRequestBody();
gs.log("Sending request = " + JSON.stringify(body), "@@TESTING");
Vinod Kumar Kachineni
Community Rising Star 2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 10:50 AM
HI vkachineni,
I tried and got the below null response-
Sending request = null
What can i do rectify this. IT seem no request body is empty.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2020 01:13 PM
Hi, I'm having the same issue. Were you able to resolve this?