Getting error at access_token & client_id


from dhanhq import dhanhq

client_id * “”

access_token * “”

dhan = dhanhq(“client_id”,“access_token”)

dhanhq connected but library not able to fetch

Hello @Ravindra_Bagate

Welcome to Dhan Community!

This looks like a coding error where you have added both client_id and access_token inside function as strings instead of objects. Just remove " in the brackets and it should work as intended.

Thank you, get resolved