☰
Login
Signup
Home
›
PHP 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
13.8K
All Categories
0
Incidents
154
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
January 2022
SRIJAN
Invalid `api_key` or `access_token`.
renishkhunt
January 2022
in
PHP client
Hello there,
Can you please help me? I am getting an error message ( Invalid `api_key` or `access_token`. ) When I am going to fetch the user profile.
I am following the example here on the Github repository.
https://github.com/zerodha/phpkiteconnect
$user = $kite->generateSession("request_token_obtained", "your_api_secret");
$kite->setAccessToken($user->access_token);
When I call getProfile() method like
$userProfile = $kite->getProfile();
I am getting this error and I used the recently generated request_token and access_token. but still, I am getting this error message.
Can you please check where I did a mistake and help me?
Tagged:
kiteapi
php
Php Api problem
SRIJAN
January 2022
https://kite.trade/forum/discussion/5414/exception-while-placing-the-order-inputexception-invalid-api-key-or-access-token
Sign In
or
Register
to comment.