How to solve watson openscale problem”IllegalArgumentException” - ibm-cloud

I'm building an environment by looking at this tutorial
https://cloud.ibm.com/docs/ai-openscale?topic=ai-openscale-gs-obj#gs-obj
Despite the model(credit risk model) provided by IBM, I get an error about the openscale dashboard
Failed to convert the JSON string 'array' to a data type. IllegalArgumentException
Please tell me how to solve this problem

Related

Azure Data Factory - Error creating a parameterised mapping dataflow

I am having an error when trying to create a parameterised Mapping Data Flow. More specifically, I have the following error. Anyone have suggestions on how to fix it or what the error may be?
{ "Message": "ErrorCode=InvalidTemplate, ErrorMessage=Unable to parse expression 'body('DataFlowDebugExpressionResolver')?.Data Vault Loadb734571b6d5a414ea8387a08077f1ff1?.DataVaultSource.sourcetable': expected token 'EndOfData' and actual 'Identifier'." } - RunId: 24ee9884-610d-4061-a9be-670aeb8f1660
Thanks #Leon and #Joel for your responses. I am attaching my pipelines here for your consideration
[1
I have found the resolution to the problem I raised yesterday. The error was caused by the name of the Mapping Data Flow (Data Vault Load).
I raised a request from Microsoft and they had the following suggestion
Spaces in name of object and parameters does not go well
Once I removed the spaces in my Mapping Data Flow name it, this particular error was resolved.
Thanks to everyone that responded.
I have been looking for going around looking for this answer it is 2021 and Microsoft still didn't add any validation or restriction for the naming of the Data Flow

Facebook error (#100) Could not resolve object at URL" when creating a user owned object

I'm trying to use the Graph api on Facebook SDK for Unity (package 6.2.2) to create an object for each user to hold data on the levels they have completed.
Using the code:
Dictionary<string, object> dataD = new Dictionary<string, object>();
dataD.Add("title", "Level Score");
Dictionary<string, object> dataS = new Dictionary<string, object>();
dataS.Add("score", score.ToString());
dataS.Add("userid", FB.UserId);
dataD.Add("data", dataS);
Dictionary<string, string> objectData = new Dictionary<string, string>();
objectData.Add("object", Json.Serialize(dataD));
FB.API("me/objects/<namespace>:<objectname>", Facebook.HttpMethod.POST, CreateObjectCallback, objectData);
About 90% of the time the code, replacing the namespace and objectname with the correct names, to create an object works, the app receives a successfull callback and the object is created. The times when it fails the error message in the log reads as:
E/Unity (19602): You are trying to load data from a www stream which had the following error when downloading.
E/Unity (19602): java.io.FileNotFoundException: https://graph.facebook.com/me/objects/<namespace>:<objectname>
E/Unity (19602):
E/Unity (19602): (Filename: Line: 253)
After getting this problem to occur fairly consistantly I attempted to see if I could get any more information by using Facebook's Graph API Explorer and maybe determine if the problem is something in my code but I get the same problem there as well at about the same rate. When it fails in the explorer I can normally send the exact same data straight after the error and it will succeed.
The error code when it decides to fail in the Graph API Explorer is:
{
"error": {
"message": "(#100) Could not resolve object at URL 836692929751565.",
"type": "OAuthException",
"code": 100
}
}
I'm assuming this message means that Facebook has failed to create the object and so is giving me the error that it can't return the object it tried to create but I have been unable to find any information online pertaining to this kind of error.
Is there something I'm missing in the data I'm sending that could cause this or in this situation should I just catch this error and retry creating the object?
From what I could find on the subject it looks like you have some missing registry items. Error 100 is a general error that could mean:
• Access Denied Error 100
• Error 100 Access Denied Windstream
• Yahoo SiteBuilder Error 100
• Error 100 Time Warner Cable
• Microsoft Silverlight Error Code 100
How to fix a numeric error, you have to first know what the numeric code means. Each numeric code will have its own solution that can be done manually or you can use a product that will fix it automatically. To find out what the error code that you are seeing means, you can either refer to your computer’s manual or you can look up the number online and see what the results are.
Some of the more common fixes for a numeric error include:
•Making certain all programs on the computer are updated.
•Making certain that the Windows operating system being used is updated.
•Uninstalling and then reinstalling your Windows operating system.
While these fixes may or may not work for your particular numeric error, they are a start.
http://www.erroranswers.com/troubleshooting/NM_100.php
I hope this helps....

Error missing the extra metadata for an update/delete entity

when saving (updating) opr delete Entities the "missing the extra metadata for an update/delete entity" Error is thrown.
Breeze.Angular" version="1.1.1"
Breeze.Angular.Directives" version="1.3.10"
Breeze.Angular.SharePoint" version="0.10.0"
Breeze.Client" version="1.5.3"
Breeze.DataService.SharePoint" version="0.10.0"
Breeze.Metadata.Helper" version="1.0.8"
Read the Entites is no problem. When debugging breeze.labs.dataservice.sharepoint.js line 297 function updateEntityNode...
metadata is obtained by Sharepoint, etag and type as defined -> type = "SP.Data.LearningPathsListItem" as I went along the pluralsight course and blog from Andre Connell. However on line on line 301 node.$entityType is undefined and __metadata is not copied to extraMetadata. I've no clue why as I went strictly to blog an course when defining the entities. Anyone to point out how to fix $entityType? Thanks.
I've brought this to Andrew Connell's attention. He's tied up at the moment but we'll try and follow up as soon as we can.
You might help us help you by adding some information to your question:
Describe your SharePoint source. A sanitized URL will probably do.
Show us the metadata you wrote for the LearningPathsListItem
Show us the JSON returned from SharePoint in response to the successful query (you can scrap this from the pertinent traffic visible in the "Network" tab of the browser's developer tools [F12]).

SF API QueryResult throws error

need help with an issue. Here is the java code sample.
String soqlQuery = "SELECT Id FROM ....";
QueryResult qResult = connection.query(soqlQuery);
This throws up the following exception:
Incompatible type 'class com.sforce.soap.partner.QueryResult' specified as xsi:type. It must be a subclass of 'class com.sforce.soap.partner.QueryResult'
Any idea?
You may be having a similar issue to myself although I was using powershell. See Dave Markle's answer to my question here: Powershell Salesforce SOAP API SessionHeader Type Converion Issue
Strange, this issue got resolved automatically when I restarted the server app. Must be something to do with container and caching.

Unable to generate a temporary class (result=1). error CS0030:

I am trying to paypal express checkout i used https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl.
when i call use
PayPalAPIAASoapBinding paypal = new PayPalAPIAASoapBinding();
i am getting error
Unable to generate a temporary class (result=1). error CS0030:
Cannot convert type
'exprtesscheckoutdemo.com.paypal.sandbox.TupleType[]' to
'paypal.sandbox.TupleType' error CS0029: Cannot implicitly convert
type 'paypal.sandbox.TupleType' to
how to over come this
Just hit this myself when updating to version 119. In your generated Web service file, do a find for [][] and replace all occurrences with []. The bad guy seems to be the merchantDataField in the PaymentDetailsType.
It seems to be a bug in the Microsoft WSDL tools when interacting with services that have "nested nodes with the maxOccurs attribute set to unbounded"; I've encountered it before when interacting with FedEx SOAP APIs as well.