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
Hi i'am not able to login , it is giving error response saying as follow.
"{ [Magento Error: An error occurred at login]
original: { message: 'Not Found', name: 'Error' },
name: 'Magento Error',
message: 'An error occurred at login' }"
code i have used for :
let magento = new MagentoObject({
host: result.host,
port: result.port,
path: '/api/xmlrpc/',
login: result.user_name,
pass: result.password
});
magento.login((error, sessionId) => {
if (error) {
console.error("GET:MAGENTO:CANNOT:CONNECT:ERROR:", error);
return callback("Unable to connect to magento admin");
}
magento.changeSession(sessionId);
console.info("GET:MAGENTO:CONNECTION:SUCCESS:INFO:Connection established successfully");
return callback(null, {magentoObject : magento, updateUrl : result.updateUrl, saveOrderUrl : result.saveOrderUrl, accessToken : result.accessToken, sessionId : sessionId});
});
The text was updated successfully, but these errors were encountered:
Hi i'am not able to login , it is giving error response saying as follow.
"{ [Magento Error: An error occurred at login]
original: { message: 'Not Found', name: 'Error' },
name: 'Magento Error',
message: 'An error occurred at login' }"
code i have used for :
let magento = new MagentoObject({
host: result.host,
port: result.port,
path: '/api/xmlrpc/',
login: result.user_name,
pass: result.password
});
magento.login((error, sessionId) => {
if (error) {
console.error("GET:MAGENTO:CANNOT:CONNECT:ERROR:", error);
return callback("Unable to connect to magento admin");
}
magento.changeSession(sessionId);
console.info("GET:MAGENTO:CONNECTION:SUCCESS:INFO:Connection established successfully");
return callback(null, {magentoObject : magento, updateUrl : result.updateUrl, saveOrderUrl : result.saveOrderUrl, accessToken : result.accessToken, sessionId : sessionId});
});
The text was updated successfully, but these errors were encountered: