I try to synchronize the remote app to the local computer through the VSCode(Make Apps Editor) plugin, and every time I get this error, what causes this and how to solve it?
2025/7/8 18:13:53: ERROR: | STACK: Error: Cannot save module createAnAiScript in makecomapp.sjon, because the connection referecence my-app-75le08 is not defined in idMapping in origin undefined. |
---|---|
at /Users/luca/.vscode/extensions/integromat.apps-sdk-2.3.1/out/local-development/makecomappjson.js:145:27 | |
at async upsertComponentInMakecomappjson (/Users/luca/.vscode/extensions/integromat.apps-sdk-2.3.1/out/local-development/makecomappjson.js:134:5) | |
at async createLocalEmptyComponent (/Users/luca/.vscode/extensions/integromat.apps-sdk-2.3.1/out/local-development/create-local-empty-component.js:76:5) | |
at async alignComponentsMapping (/Users/luca/.vscode/extensions/integromat.apps-sdk-2.3.1/out/local-development/align-components-mapping.js:263:50) | |
at async pullAllComponents (/Users/luca/.vscode/extensions/integromat.apps-sdk-2.3.1/out/local-development/pull.js:74:5) | |
at async /Users/luca/.vscode/extensions/integromat.apps-sdk-2.3.1/out/local-development/clone.js:159:9 |
local makecomapp.json file
{
"fileVersion": 1,
"generalCodeFiles": {
"base": "general/base.iml.json",
"common": null,
"readme": "README.md",
"groups": "modules/groups.json"
},
"components": {
"connection": {
"connection1": {
"label": "AppApiKey",
"connectionType": "basic",
"codeFiles": {
"communication": "connections/connection1/connection1.communication.iml.json",
"params": "connections/connection1/connection1.params.iml.json",
"common": null
}
}
},
"module": {
"createAnAiScript": null
},
"function": {},
"rpc": {},
"webhook": {}
},
"origins": [
{
"label": "Origin",
"baseUrl": "https://eu2.make.com/api",
"appId": "my-app-75le08",
"appVersion": 1,
"idMapping": {
"connection": [
{
"local": "connection1",
"remote": "my-app-75le08"
}
],
"module": [],
"function": [],
"rpc": [],
"webhook": []
},
"apikeyFile": "../../.secrets/apikey2"
}
]
}