Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Error: Error invoking remote method 'api-updateData': TypeError: Cannot read property 'updated_at' of undefined #110

Open
dawadam opened this issue Feb 2, 2022 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@dawadam
Copy link

dawadam commented Feb 2, 2022

Describe the bug
I'm just starting testing and error appear when i'm saving profile.

Actions.ts:228 Error: Error invoking remote method 'api-updateData': TypeError: Cannot read property 'updated_at' of undefined

To Reproduce
Steps to reproduce the behavior:

  1. Go to application
  2. Enter keys
  3. Click to TEST API KEYS
  4. Select currency and enable one account, enter reserved funds
  5. Click on save profile
  6. Wait
  7. See error
  8. Cry

Desktop (please complete the following information):

  • OS: Linux Mint, last
  • Last version of 3c-portfolio-manager
@dawadam dawadam added the bug Something isn't working label Feb 2, 2022
@coltoneshaw
Copy link
Owner

Hey! Check the console under menu > dev tools. Let me know what errors appear there when you sync

@dawadam
Copy link
Author

dawadam commented Feb 2, 2022

I have already given the error.

@coltoneshaw
Copy link
Owner

Okay, just go into the console, right click and save it. Then attach that file here. That'll show the process leading up to the error.

@dawadam
Copy link
Author

dawadam commented Feb 2, 2022

You'll be disappointed :

Actions.ts:228 Error: Error invoking remote method 'api-updateData': TypeError: Cannot read property 'updated_at' of undefined
syncNewProfileData @ Actions.ts:228

@coltoneshaw
Copy link
Owner

Sorry, I meant can you save/copy ALL of the console leading up to the error. The right click should capture it all, if it doesn't just scroll and copy it all.

@dawadam
Copy link
Author

dawadam commented Feb 2, 2022

Ok, all is here :

3Commas.ts:32 {options: {…}}
options: notifications: false
offset: 1000
summary: false
syncCount: 0
time: 0
__proto__: Object
__proto__: Object

preload.ts:14 Updating 3Commas data.

Actions.ts:228 Error: Error invoking remote method 'api-updateData': TypeError: Cannot read property 'updated_at' of undefined
syncNewProfileData @ Actions.ts:228
async function (async)
syncNewProfileData @ Actions.ts:222
setProfileConfig @ SaveDeleteButtons.tsx:62
onClick @ SaveDeleteButtons.tsx:93
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:4070
executeDispatch @ react-dom.development.js:8243
processDispatchQueueItemsInOrder @ react-dom.development.js:8275
processDispatchQueue @ react-dom.development.js:8288
dispatchEventsForPlugins @ react-dom.development.js:8299
(anonymous) @ react-dom.development.js:8508
batchedEventUpdates$1 @ react-dom.development.js:22396
batchedEventUpdates @ react-dom.development.js:3745
dispatchEventForPluginEventSystem @ react-dom.development.js:8507
attemptToDispatchEvent @ react-dom.development.js:6005
dispatchEvent @ react-dom.development.js:5924
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
discreteUpdates$1 @ react-dom.development.js:22413
discreteUpdates @ react-dom.development.js:3756
dispatchDiscreteEvent @ react-dom.development.js:5889

I precise, the synchronization time is very long before the error appears.

@coltoneshaw
Copy link
Owner

@dawadam - Sorry for the long delay here, I thought I replied and apparently I didn't. Have you solved this? You may want to just reset everything by using menu > help > reset data. Then try again. This error seems like something isn't being returned right from 3c.

@dawadam
Copy link
Author

dawadam commented Mar 7, 2022

The problem is not solved.
I tried from another computer with a completely different configuration and the error was the same.
Account 3 commas has many associated accounts, it is probably a special case.
In any case ducoup impossible for me to use the tool.

@JackieTreeh0rn
Copy link

same issue here after resetting my 3commas paper account on 3commas, I think it is because there are no deals or bots on it yet. Once I added a paper bot and it started to open deals the issue went away.

@ricksharp
Copy link

Same issue here. Paper Account works but on the real account, I get...
Screenshot 2023-01-21 091555

@ricksharp
Copy link

For me, the problem was I had exchanges on my real account with expired APIs. Once I added new ones it all worked again.

@davidlinse
Copy link

hi, i'm facing the same issue. even after resetting and connecting w/ newly setup API keys. any news on this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants