☰
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 2019
mvp
January 2019
sujith
Error Missing or empty field exchange thrown on placeOrder()
mvp
January 2019
in
PHP client
When i place order (using the PHP api placeOrder(), i am getting the below error:
Fatal error: Uncaught InputException (400) 'Missing or empty field `exchange`' thrown in kiteconnect.php on line 899
I understood the API placeOrder() already uses Content-type: application/x-www-form-urlencoded and i don't need to set it explicitly.
Please help.
Thanks
Tagged:
error
php
place_order
content type
json
sujith
January 2019
You seem to have missed the exchange param while placing an order. You can refer to the example
here
.
mvp
January 2019
followed the example, it worked!
thanks.
This discussion has been closed.
thanks.