{"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."}

Added by Anders almost 5 years ago

Hej!

Begriper inte varför jag får detta tillbaka, skulle ni kunna kika i loggen?

Det här är vad jag skickar:
https://api.test.nordnet.se/next/2/accounts/9211238/orders?identifier=16389275&marketID=40&price=57&volume=400.00855349999983&side=sell&currency=SEK

Se bild för mer info


Replies (15)

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by Lars almost 5 years ago

Prova med "market_id" i stället för "marketID".

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by Lars almost 5 years ago

och, orderläggning ska väl göras med POST snarare än GET?

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by Anders almost 5 years ago

Hej Lars!

Tack för att du återkom.

Neej jag drog iväg en post och jag provade med "market_id" med samma svar. Det känns som en config men du vet nog bättre.

Ser du mina attachements ? Attachar min logg (uppdaterade log här igen)

Vad står det i er logg ?

MvH
Anders

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by Anders almost 5 years ago

Här är min logg i text:

I20151026-08:44:21.175(2)? account_sum: { currency: 'SEK', value: 1000000 },

I20151026-08:44:21.175(2)? unrealized_future_profit_loss: { currency: 'SEK', value: 0 },

I20151026-08:44:21.175(2)? own_capital: { value: 1000000, currency: 'SEK' },

I20151026-08:44:21.175(2)? own_capital_morning: { currency: 'SEK', value: 1000000 },

I20151026-08:44:21.176(2)? full_marketvalue: { currency: 'SEK', value: 0 } }

*I20151026-08:44:21.176(2)? post -> https://api.test.nordnet.se/next/2/accounts/9211238/orders?identifier=16349269&market_id=17&price=57&volume=17543&side=buy&currency=USD *
W20151026-08:44:22.100(2)? (STDERR)

W20151026-08:44:22.101(2)? (STDERR) /Users/anders/.meteor/packages/meteor-tool/.1.1.9.10gtyun++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:278
W20151026-08:44:22.101(2)? (STDERR) throw(ex);

W20151026-08:44:22.101(2)? (STDERR) ^

W20151026-08:44:22.139(2)? (STDERR) Error: failed [400] {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."}

W20151026-08:44:22.139(2)? (STDERR) at Object.Future.wait (/Users/anders/.meteor/packages/meteor-tool/.1.1.9.10gtyun++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:398:15)
W20151026-08:44:22.140(2)? (STDERR) at Object.call (packages/meteor/helpers.js:119:1)

W20151026-08:44:22.140(2)? (STDERR) at _class.sendRequest (server/lib/NextApiHandler.js:39:21)

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by Lars almost 5 years ago

Jag jobbar inte för Nordnet och har ingen aning om vad som står i deras loggar, men hur gör du POST? Det ser ut som att du skickar parametrarna i URL:en snarare än i "body:n" som brukligt.

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by Anders almost 5 years ago

Ah, silly me, Tack för feedbacken lars!

Cheers
Anders

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by website 28 days ago

One likely consequence of the female infusion in the casino online industry is likely to be in the way online casinos are promoted. Before long인증업체

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by website 26 days ago

The Poor casino companies will want you to keep with the original plan because they will make more money. The concept here's that whenever you yourself have too little tables your guests can't play meaning they can't donate money to the big event, and when you yourself have a lot of tables they will not be used and you are spending additional money than you must, and you are able to run the threat of losing money for the charity consequently of it.먹튀검증

https://royalcbd.com/benefits-of-cbd-edibles/ - Added by website 24 days ago

Just pure classic stuff from you here. I have never seen such a brilliantly written article in a long time. I am thankful to you that you produced this! https://royalcbd.com/benefits-of-cbd-edibles/

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by website 23 days ago

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.All Season Tires Ottawa

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by website 22 days ago

This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post! how often should you yoni steam

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by website 18 days ago

I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think.microbt

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by website 17 days ago

I high appreciate this post. It’s hard to find the good from the bad sometimes, but I think you’ve nailed it! would you mind updating your blog with more information?안전놀이터

RE: {"code":"NEXT_INVALID_PARAMETER","message":"Invalid parameter market_id."} - Added by website 14 days ago

it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity..먹튀검증사이트

토토사이트 - Added by website 5 days ago

A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. 토토사이트

(1-15/15)