- ago
I generate my API on binance normally but when I go to put it on the platform I get this error:


System.InvalidOperationException: Error Updating Balances: API-key format invalid.
at WealthLab.Binance.BinanceBroker.OrderCompositeStub()
at WealthLab.Binance.BinanceBroker.UpdateAccounts()
at WealthLab.Binance.BinanceConnection.ParametersChanged(ParameterList pl)
at WealthLab.Binance.BinanceHistorical.ProcessConfig()
at WealthLab.Core.Configurable.set_Configuration(String value)
at WealthLab8.dmDataProviders.ConfigChanged(String config)
at WealthLab.WPF.ParameterEditorPanel.FindObserver(Parameter task)
at WealthLab.WPF.ParameterEditorPanel.txtChanged(Object sender, TextChangedEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.TextBoxBase.OnTextContainerChanged(Object sender, TextContainerChangedEventArgs e)
at System.Windows.Documents.TextContainer.EndChange(Boolean skipEvents)
at System.Windows.Documents.TextRangeBase.EndChange(ITextRange thisRange, Boolean disableScroll, Boolean skipEvents)
at System.Windows.Documents.TextRange.ChangeBlock.System.IDisposable.Dispose()
at System.Windows.Documents.TextEditorCopyPaste.Paste(TextEditor This)
at System.Windows.Documents.TextEditorCopyPaste.OnPaste(Object target, ExecutedRoutedEventArgs args)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
0
567
Solved
22 Replies

Closed

Bookmark

Sort
Cone8
 ( 4.82% )
- ago
#1
Not seeing a problem connecting to Binance US here.

Which Binance Network are you using?
1
- ago
#2
I selected the "Binance" option.
0
Cone8
 ( 4.82% )
- ago
#3
We don't have a non-U.S. resident account to test the Binance network, but the error is from Binance: API-key format invalid.

Are there any other messages from Binance in the Log Viewer?

Could another Binance network user comment if they're also having trouble?
0
- ago
#4
A message referring to a geographical error also appeared, but I'm already fixing that.
0
Cone8
 ( 4.82% )
- ago
#5
Just make sure to enter the API and Secret keys precisely..
...make sure not to copy an extra whitespace, for example.
0
- ago
#6
I copied it the right way, solved the localization problem but the error persists
0
- ago
#7
When I try to connect to "Binance Brooker" I can't because I get this error: "Binance Broker: Connect failed: Error Updating Balances: Signature for this request is not valid.
Connect Failed", but I've already checked and the api key and secret key are correct.
0
- ago
#8
Hmm maybe it's related to your regional settings (Brazil Portuguese)?
0
- ago
#9
I'm in Brazil, but that's not a problem, I have access to binance normally here.
0
- ago
#10
The problem is with the platform, I can't even insert my api, letter by letter to test, the first letter I type already gives me that error, if I copy and paste the entire api the same error.

I've just tested the same API in my IDE, sent a purchase order for testing and everything went fine, can you see what the problem is with the platform?
0
Glitch8
 ( 10.59% )
- ago
#11
Hi Cypher, there is no problem with the platform as far as we can see. At least we are not experiencing what you describe. Would you be available for a Zoom call to help troubleshoot?

0
- ago
#12
Do you have someone who can make this call in Portuguese?
0
Glitch8
 ( 10.59% )
- ago
#13
No, it would have to be in English, Spanish, German, or Russian.
0
- ago
#14
we can probably solve it here, i have created the api in binance, i have contracted the binance extension, when i go to paste the api in the api field to use i get this error (i paste and check exactly as it is):

0
- ago
#15
this error appears as soon as I put in the api, I check and it's exactly the same, no errors or blank spaces, then I click ok and the error appears again, when I click ok for the second time it stops appearing, when I go to put in the secret key, the same error happens.
0
- ago
#16


error secret key.

the keys are correct you can be sure, they have been checked one by one
0
Glitch8
 ( 10.59% )
- ago
#17
Yes we see the issue, thanks for the detailed screen shots. I'm building some new crypto extensions which will be available shortly that should resolve this.
0
- ago
#18
OK dear friend
0
Glitch8
 ( 10.59% )
- ago
#19
OK, the Binance Extension update is ready, please try it out and let us know if it solves the issue.
0
- ago
#20
no more errors when inserting the api, but it still fails to connect to the broker, see the attachment.

as previously stated, the api is in the correct format and has been checked.
0
Cone8
 ( 4.82% )
- ago
#21
Restart WealthLab.
Check that the keys are already in place.
Hit Connect.

Same?
0
Best Answer
- ago
#22
it worked, thank you very much
2

Closed

Bookmark

Sort