3cpm icon indicating copy to clipboard operation
3cpm copied to clipboard

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

Open dawadam opened this issue 3 years ago • 12 comments

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 avatar Feb 02 '22 08:02 dawadam

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

coltoneshaw avatar Feb 02 '22 12:02 coltoneshaw

I have already given the error.

dawadam avatar Feb 02 '22 12:02 dawadam

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.

coltoneshaw avatar Feb 02 '22 12:02 coltoneshaw

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

dawadam avatar Feb 02 '22 12:02 dawadam

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.

coltoneshaw avatar Feb 02 '22 12:02 coltoneshaw

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.

dawadam avatar Feb 02 '22 12:02 dawadam

@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.

coltoneshaw avatar Feb 24 '22 20:02 coltoneshaw

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.

dawadam avatar Mar 07 '22 17:03 dawadam

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.

JackieTreeh0rn avatar Apr 05 '22 05:04 JackieTreeh0rn

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

ricksharp avatar Jan 21 '23 01:01 ricksharp

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

ricksharp avatar Jan 21 '23 01:01 ricksharp

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

davidlinse avatar Feb 07 '23 08:02 davidlinse