ArgumentException: Input JSON was invalid.
ParseException: Invalid response from server
This is what I get after executing anything to the parse-server
My Initialization in Program.cs
static void Main()
{
ParseClient.Initialize(new ParseClient.Configuration
{
ApplicationId = "appId",
// the serverURL of your hosted Parse Server
Server = "http://my-correct-server-address.com:1337/parse"
});
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
And for example I try to run a Cloud Function called “ping” and expect to get a “pong” return:
private void button3_Click(object sender, EventArgs e)
{
ParseCloud.CallFunctionAsync<IDictionary<string, object>>("ping", null).ContinueWith(t => {
var pong = t.Result;
MessageBox.Show(t.Result.ToString());
});
}
Im using Parse-Server 4.2.7 and DotNetSDK 1.7.0
Ive already checked the appId and the Server Address. Its both correct and the server is running.
Also tried passing an empty Dictionary → didnt work
What am I doing wrong?
Please help me