☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
8.8K
All Categories
8
Go client
514
.Net API client
226
Kite Publisher
468
.Net / VBA / Excel (3rd party)
275
Algorithms and Strategies
698
Java client
650
API clients
319
PHP client
2.2K
Python client
256
Mobile and Desktop apps
959
Market data (WebSockets)
2.2K
General
In this Discussion
January 11
anujrathi26
January 11
sujith
Market quotes
anujrathi26
January 10
edited January 11
in
Java client
Question) we are using api key and using token at same time we have generated but not getting Success response.
we want to access Market quotes by using below curl
curl --location --request GET '
https://api.kite.trade/quote?i=NSE:INFY'
\
--header 'X-Kite-Version: 3' \
--header 'Authorization: token kp692ie90sj838i3y:fdZDfof44Le3HtoCpf63hQZZZbYDyJBu' \
--header 'Cookie: __cfduid=d4af7c2c9dd655992cf7886d86a6fd2b91610264669'
but not getting success response from API, we are getting below 40x forbidden
"status": "error",
"message": "Incorrect `api_key` or `access_token`.",
"data": null,
"error_type": "TokenException"
sujith
January 11
@anujrathi26
,
Never post your app or client-specific token on a public thread.
You seem to be sending the wrong access token. You can check out more about the login flow
here
.
anujrathi26
January 11
@sujith
We have issue during java code build error is gpg: no default secret key: No secret key
gpg: signing failed: No secret key when we run mvn clean install of given code
error_MVN.PNG
39.9K
sujith
January 11
Are you running your code or are you trying to run the library itself?
sujith
January 11
How are you including javakiteconnect in your project?
anujrathi26
January 11
@sujith
I m trying to run the library itself and wants to run Test.java
sujith
January 11
Those are just library files and java files. You need to create a new core java app and call javakiteconnect methods from there.
Sign In
or
Register
to comment.
Never post your app or client-specific token on a public thread.
You seem to be sending the wrong access token. You can check out more about the login flow here.
gpg: signing failed: No secret key when we run mvn clean install of given code