Hi I am getting below error
{"s": "error", "code": -96, "message": "An unexpected error occurred. Please contact support."}
While Running below code to create AuthCode
Sub AuthCode()
Dim wb As ThisWorkbook
Set wb = ThisWorkbook
Dim AppID As String
Dim RedirectURI As String
AppID = wb.Sheets("Details").Range("B1").Value
RedirectURI = wb.Sheets("Details").Range("B2").Value
Dim URL As String
URL = "https://api-t1.fyers.in/api/v3/generate-authcode?client_id=" & AppID & "&redirect_uri=" & ReditectURI & "&response_type=code&state=sample_state'"
CreateObject("Wscript.shell").Run URL
End Sub