Unable to invoke target method in current thread. Use `BeginInvokeOnMainThread` method to prevent this error.

Created at 22 Nov 2022, 18:56
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
JW

jwandia2022

Joined 30.09.2022

Unable to invoke target method in current thread. Use `BeginInvokeOnMainThread` method to prevent this error.
22 Nov 2022, 18:56


Hi,

I have just completed my first bot build out but I keep getting the error [Unable to invoke target method in current thread. Use `BeginInvokeOnMainThread` method to prevent this error.]

Is there a way I can share the code privately and get assistance on this issue.

Thanks.

 

Joyce.


@jwandia2022