Method getMFHoldings was working fine till 20-Jan-2024 in Node JS. But since 22-Jan-2024, it is not returning the holding values. Instead following is received on calling this method.
{ error_type: 'DataException', message: 'Unknown content type (application/json;charset=utf-8) with response: ([object Object])' }
On calling getMFHoldings method, it is going into 'then' section (not 'catch' section). But the data returned in the then section is not actual holding value but a error message. Within 'then' as soon as the method is called, the stack has only below line other than my code stack.
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
It doesn't matter if it goes in to success or fail block. Can you enable the debug logs of kiteconnectjs and paste the complete stack trace here? You can enable debug logs as mentioned here while creating the constructor.
PS: Make sure to remove app and client specific tokens while pasting here.
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
You can enable debug logs as mentioned here while creating the constructor.