ROandaAPI icon indicating copy to clipboard operation
ROandaAPI copied to clipboard

'names' attribute [4] must be the same length as the vector [3]

Open Diptiranjan1 opened this issue 8 years ago • 2 comments

Getting error at this point - InstList <- data.frame(InstrumentsList(AccountType,Token,AccountID))[,c(1,3)] The error is - 'names' attribute [4] must be the same length as the vector [3]

Can anyone help me out? Thanks in advance.

Diptiranjan1 avatar Sep 28 '17 06:09 Diptiranjan1

Hi there, I also have this problem. Any suggestions?

TianyouZhang avatar Dec 20 '17 06:12 TianyouZhang

It is about the rights that the token has, the request to the servers is returning another message and the parsing of that message is what generates that error. check that the API Token is for V1 REST. You can validate that calling or emailing to oanda

IFFranciscoME avatar Jan 16 '18 04:01 IFFranciscoME