Am using JSON destination component to perform DELETE , it is a bit weird that the delete is successful when I saw in UI but am receiving the following error.
[JSON Destination [15]] Error: An error occurred with the following error message:
"System.Exception: Http response body is invalid JSON. (SSIS Productivity Pack, v6.2.0.1468 -
DtsDebugHost, v11.0.7001.0)Newtonsoft.Json.JsonReaderException : Error reading JObject from JsonReader. Path '', line 0, position 0.".
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "JSON Destination" (15)
failed with error code 0xC02090F9 while processing input "Input1 (Merge Join)" (32). The identified component returned an error from the
ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.
There may be error messages posted before this with more information about the failure.
For the error you are getting above, it seems that the response you get is not in a JSON array, so the component cannot parse the response if you have checked the Response Is Array option in the Output Columns page.
Note that you would only check the Response Is Array option if the HTTP response contains an array with items corresponding to your input rows. If the response does not contain information about each input item, you wouldn’t need to check this option.
In this case, you can try to uncheck the Response Is Array option and enable the HttpBody option in the Output Columns page to verify what value you get from the response body.
Please feel free to reach out to our official support channel if you have any further trouble.
Related
Can you retrieve the error message from Parse JSON step on failure?
I have tried different ways of access the message, but all return the empty string
body('Parse_json')?['errors'][0]['message']
Logic app Flow with Pars JSON with error message
Please use this expression:
outputs('Parse_json')['errors'][0]['message']
In Angular documentation (https://angular.io/api/common/http/HttpErrorResponse), the HttpErrorResponse is suppose to contain the error.
Question 1 - I notice that if the server sends json then the error property contains that json. Is it that Angular is copying the body into error property?
Question 2 - The document also says The error property will contain either a wrapped Error object or the error response returned from the server. What is this Error object? Is it some type defined in Angular? In my code, I'll like to print the error property but I can't esp. for non-server related errors. In such cases, I don't know the type of error.
I have a Function app, which i am calling from a logic App. When ever i am adding the Action for function app, My funciton app unable to retrive. Its showing the below error
Failed to fetch swagger with error message: Unexpected end of JSON
input. Ensure you have CORS enabled on the endpoint and are calling a
valid HTTPS endpoint
I have refereed --> Stackoverflow , but its not working.
Any help is really appreciated.
.
I am using the standard Code from: https://mandrillapp.com/api/docs/messages.php.html, require_once 'mandrill.php'; before using it and the directory is also right. But I am getting this exception the whole time, and I dont know why
Fatal error: Uncaught exception 'Mandrill_Error' with message 'We were
unable to decode the JSON response from the Mandrill API: window.NREUM||(NREUM={}),__nr_require=function(e,n,t){function
r(t){if(!n[t]){var
o=n[t]={exports:{}};e[t][0].call(o.exports,function(n){var
o=e[t][1][n];return r(o||n)},o,o.exports)}return
n[t].exports}if("function"==typeof __nr_require)return
__nr_require;for(var o=0;op;p++)u[p].apply(s,t);return
s}function a(e,n){f[e]=c(e).concat(n)}function c(e){return
f[e]||[]}function u(){return t(n)}var
f={};return{on:a,emit:n,create:u,listeners:c,_events:f}}function
r(){return{}}var
o="nr#context",i=e("gos");n.exports=t()},{gos:"7eSDFh"}],ee:[function(e,n){n.exports=e("QJf3ax")},{}],3:[function(e,n)
in
Anyone an idea?
It is possible that you get this error when the mailservice is down or has Internal server errors (500). Embed your sending code in a try/catch block and use the catch block to fall back on another mailing service.
I am trying to obtain the status message of the response to a POST to a rest service via:
var response = UrlFetchApp.fetch(<url>, <params>);
I need the status description as reported by the server which does not appear to be available as part of the HTTPResponse object returned by the fetch method.
I can get the status code using:
response.getResponseCode();
But no luck on the message associated with it. I have wrapped the fetch call in a try/catch block, but the error message returned using that method is an error message provided by the spreadsheet service, not the original, raw status description from the server response.
Any ideas on how to obtain this piece of information, most appreciated.
The associated message from the service should be available in HTTPResponse.getContentText(). You'll need to pass the optional parameter muteHttpExceptions set to true in the UrlFetchApp.fetch() request to prevent an exception from being thrown.