Invalid API credentials

KUL
Hi
Following error is given when trying to do Offsite order

{ "error_type": "ForbiddenError", "message": "Invalid API credentials", "status": "error" }

what could be the reason?
  • Kailash
    Invalid or missing parameters. Can you copy-paste the request you are sending?
  • KUL
    KUL edited April 2016
    '




    document.getElementById("basket").value = '[{"tradingsymbol": "INFY","exchange": "NSE","transaction_type": "BUY","order_type": "MARKET","quantity": 10}]';
    document.getElementById("basket-form").submit();
    '
  • Kailash
    You have to pass the "api_key".
  • KUL
    yes i have pass the api_key also
  • Kailash
    Can you e-mail the entire code snippet to talk@rainmatter.com ?
Sign In or Register to comment.