Error placing order via Uplink Business API

Hi. I have multi-client access. and i am trying to place order using
https://api.upstox.com/v2/uplink/order/place” API.
here is the code:

using (var httpClient = new HttpClient())
{
    httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));

    var formContent = new MultipartFormDataContent
    {
        { new StringContent(JsonData), "data" },
        { new StringContent(TokenId), "access_token" },
        { new StringContent("https://MyRedirectURL"), "redirect_url" }
    };

    var httpResponse = await httpClient.PostAsync("https://api.upstox.com/v2/uplink/order/place", formContent);

    var result = await httpResponse.Content.ReadAsStringAsync();
}

I am getting success in response status but this is what i am getting in response data:

“Data”: “<html lang="en">Upstox Accounts<meta charset="utf-8"/><link rel="icon" type="image/png" href="favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="theme-color" content="#000000"/><link rel="icon" href="/favicon.ico"><script defer="defer" src="/vendor~cdd60c62~70befbd718b09932436e.js"><script defer="defer" src="/vendor~48a4958c~70befbd718b09932436e.js"><script defer="defer" src="/vendor~d7bc387f~70befbd718b09932436e.js"><script defer="defer" src="/vendor~5c163be3~70befbd718b09932436e.js"><script defer="defer" src="/vendor~0ec68f8f~70befbd718b09932436e.js"><script defer="defer" src="/vendor~536eaa00~70befbd718b09932436e.js"><script defer="defer" src="/vendor~bb3d84b5~70befbd718b09932436e.js"><script defer="defer" src="/vendor~f82e0cd2~70befbd718b09932436e.js"><script defer="defer" src="/vendor~059be3de~70befbd718b09932436e.js"><script defer="defer" src="/vendor~7e9d134f~70befbd718b09932436e.js"><script defer="defer" src="/vendor~c32348aa~70befbd718b09932436e.js"><script defer="defer" src="/vendor~f2b3e39b~70befbd718b09932436e.js"><script defer="defer" src="/vendor~0bc0478e~70befbd718b09932436e.js"><script defer="defer" src="/vendor~b48beae3~70befbd718b09932436e.js"><script defer="defer" src="/vendor~f46dc3dc~70befbd718b09932436e.js"><script defer="defer" src="/vendor~b6cffd1b~70befbd718b09932436e.js"><script defer="defer" src="/vendor~e5bca7e4~70befbd718b09932436e.js"><script defer="defer" src="/vendor~27545368~70befbd718b09932436e.js"><script defer="defer" src="/vendor~866ab763~70befbd718b09932436e.js"><script defer="defer" src="/vendor~244a0803~70befbd718b09932436e.js"><script defer="defer" src="/vendor~d7ef4d6f~70befbd718b09932436e.js"><script defer="defer" src="/vendor~8777a0f3~70befbd718b09932436e.js"><script defer="defer" src="/vendor~3e6f07b2~70befbd718b09932436e.js"><script defer="defer" src="/vendor~98be7b13~70befbd718b09932436e.js"><script defer="defer" src="/vendor~5d8867c7~70befbd718b09932436e.js"><script defer="defer" src="/vendor~2b43d40d~70befbd718b09932436e.js"><script defer="defer" src="/vendor~a40753cc~70befbd718b09932436e.js"><script defer="defer" src="/vendor~06902628~70befbd718b09932436e.js"><script defer="defer" src="/vendor~d86b5c65~70befbd718b09932436e.js"><script defer="defer" src="/ui~eeac5efd~70befbd718b09932436e.js"><script defer="defer" src="/ui~3dc85b53~70befbd718b09932436e.js"><script defer="defer" src="/ui~be5e3d9a~70befbd718b09932436e.js"><script defer="defer" src="/ui~999cede9~70befbd718b09932436e.js"><script defer="defer" src="/ui~d410833a~70befbd718b09932436e.js"><script defer="defer" src="/ui~be2bbe70~70befbd718b09932436e.js"><script defer="defer" src="/ui~fce08699~70befbd718b09932436e.js"><script defer="defer" src="/ui~5e18854e~70befbd718b09932436e.js"><script defer="defer" src="/main~43dd7041~70befbd718b09932436e.js"><script defer="defer" src="/main~2bf68f3f~70befbd718b09932436e.js"><script defer="defer" src="/main~140d7430~70befbd718b09932436e.js"><script defer="defer" src="/main~45899fe6~70befbd718b09932436e.js">You need to enable JavaScript to run this app.<main id="root">”

Please help me to solve this issue.

Thank you,
-Chintan

Hi @Chintan_Rotliwala

This error message indicates that JavaScript needs to be enabled for your application to run. Have you tried enabling JavaScript and then running your app?

Hi Ketan, thank you for your response. Yes of course I can read that in the response string,
But I am calling this API from backend, c#. I am developing a platform that allows any user to login to their upstox account via my web platform, and place order. So the code I sent is actually calling uplink API with requested parameters from my web’s frontend. I just need to get the response from uplink for whether or not request is successfully completed. I don’t see anything that relates this with javascript in anyway. The request is being made from backend.

Thank you.

Hi @Ketan @Ketan_Gupta
Please help me to resolve the issue. Waiting for your response.

Thank you.