You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: MetaAPI Account Deletion Fails with 404 Error #16
Bug: MetaAPI Account Deletion Fails with 404 Error
Description
When deleting an MT account via Javascript SDK, the API throws a 404 error even though the account is successfully deleted from MetaAPI.
Root Cause
The MetaAPI SDK's .remove() method internally calls .getAccount() to verify/refresh state during deletion. This internal GET call fails with 404 once the account begins deletion, throwing an exception even though the operation completes successfully.
Symptoms
Account is deleted from MetaAPI dashboard ✓
API returns {"error": "metaapi delete failed"} with 500 status ✗
Activity