Robinhood API: Access denied: Invalid private key
complete
P
Petur
complete
This has now bee fixed so that both versions of the key-pair can be added.
Note that you will need to add both public and private key when creating your wallet
P
Petur
under review
P
Petur
Hello everyone,
We have done some investigating and found that there may be an issue with Robinhood's instructions here:
** EDIT:
We have found the reason for the difference and we will be able to add support for both versions. This ticket will be closed once this change gets released on our side. It still seems very strange that RH would provide 2 examples that result in different outputs, but this was the cause of the errors **
RH provides 2 examples on how to generate the key pair. However, these two methods do not result in the same key formats, so we suspect that RH has made a mistake when creating these samples.
In short, the Node.js sample works fine, but the Python sample does not work.
We are investigating if there is some way for us to use the Python-generated key pairs, but it seems unlikely.
In order to connect the Robinhood API, we recommend generating the key pair using the Node.js sample provided
P
Petur
Daniel McClintock:
Thanks for confirming.
We found the reason for the difference and we will be adding a fix.
Our developer used the Node.js sample when building the integration on our side, so we did not consider that the Python example could possibly be generating different outputs. This is why the Python keys aren't working on our side.