Jump to content
Sign in to follow this  
wwumb

Error Market specification blocked for account operator

Recommended Posts

Hi, 

 

I started using the REST API, i manage to log in, but i keep getting the order status reason "Market specification blocked for account operator." when trying to trade. Any hints/ideas what might be the problem?

 

Thanks in advance!

Share this post


Link to post

Hello,

Which call are you attempting to make that is generating the error? Can you paste in the JSON you are attempting to send?

At a guess, it appears you are sending in a MarketID in whichever call you are using that is not available to you. For example, if you are a Forex.com client and you are attempting to trade a market for another one of our brands.

I can look into it further once I hear back from you.

Kind Regards, PM

Share this post


Link to post

You are right, the code was used earlier to trade with a different brand. I was not aware that the market IDs are different. This is probably the issue. I'll fix the IDs and try again.

Thanks for the speedy help!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×