Hi all,
Recently, I could no longer sync my 1 of my project with plasmic anymore.
It kept throwing Plasmic error: Internal Server Error
in the middle after Updating project '...' to latest
My project ID is efNiq1kB7BmjgpCSpej5qG
I would really appreciate if you can help me to understand what is going on as it’s blocking our application development at the moment.
I have tested the project by creating a fresh folder then run plasmic sync -p efNiq1kB7BmjgpCSpej5qG
, with the default settings and it also failed on the fresh new folder.
When I tested plasmic with other project, it’s working well so I think my project settings on the cloud has gone wrong but I was not sure what’s going on. It just happened suddenly.
I even duplicated the Plasmic project and the Copy version suffered from the same issue.
I have debugged the plasmic sync
command directly from node_modules/@plasmicapp/cli
and I could confirm that this is an issue coming from Plasmic server.
When Plasmic try to retrieve the project content by using axios.post
to this endpoint https://codegen.plasmic.app/api/v1/projects/efNiq1kB7BmjgpCSpej5qG/code/components?branchName=undefined
, it would go into the catch
error block.
I have console log the error below (after stripping out all the sensitive information) FYI
{
"message": "Request failed with status code 500",
"name": "Error",
"stack": "Error: Request failed with status code 500\n at createError (/Users/jackvo/Desktop/workspace/menuchoice-admin/node_modules/@plasmicapp/cli/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/Users/jackvo/Desktop/workspace/menuchoice-admin/node_modules/@plasmicapp/cli/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/Users/jackvo/Desktop/workspace/menuchoice-admin/node_modules/@plasmicapp/cli/node_modules/axios/lib/adapters/http.js:269:11)\n at IncomingMessage.emit (node:events:525:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)",
"config": {
"url": "https://codegen.plasmic.app/api/v1/projects/efNiq1kB7BmjgpCSpej5qG/code/components?branchName=undefined",
"method": "post",
"data": "{\"projectIdsAndTokens\":[{\"projectId\":\"3QovZ5AQbbWyNucU1HpHdE\",\"projectApiToken\":\"3hRjIxnse1nJQjXY3DRTzMRT4vflpjF8mbosZhMzQyX8h1XsqdfI7pkkmzhz4X74VGZzEd4REWgFwbpJ5Sw\"},{\"projectId\":\"efNiq1kB7BmjgpCSpej5qG\",\"projectApiToken\":\"DmoOhZVboMMNeptYLOTcU6HKqwRq0jKlGRdFJwjayHUP1EIlyhS0sTHKIUfMy2VL1aA1Gv2wnhp7VTYIPcJB6A\"},{\"projectId\":\"3QovZ5AQbbWyNucU1HpHdE\",\"projectApiToken\":\"3hRjIxnse1nJQjXY3DRTzMRT4vflpjF8mbosZhMzQyX8h1XsqdfI7pkkmzhz4X74VGZzEd4REWgFwbpJ5Sw\"}],\"platform\":\"nextjs\",\"platformOptions\":{\"nextjs\":{\"appDir\":false}},\"componentIdOrNames\":[\"vaJNt2HhFXR\",\"kInpAI51ih\",\"tF2OAIlG0R\",\"E3du1Lzi5K\",\"cGsBQ5Sc01\",\"FyOmNKc1Dv\",\"l2gnyudPi_\",\"B9V_Bb54_GH\",\"2gpqWDwJg3h\",\"XnjaNRfYYh8\",\"xSFKo4rLsy9\",\"WqIv8Ncc7M\",\"EYNB-Q-IGsk\",\"LpefCAdWfFt\",\"XFz78LQ8ok\",\"YTjAcL9ljJ6\",\"nrto231-a8R\",\"CEGz1IMgiX0\",\"kzLsoJj-af-\",\"AiOuVxw-6SM\",\"DRZh_5L55v\",\"pNKLto9lkG\",\"Kx01kL0ULu\",\"oymvometlq\",\"2qbzeH0pff\",\"hDdKCHSy76\",\"LUb-qY5PzW0\",\"261hGePDxt\",\"wb7rN9Wnf\",\"_WICE1UXN1\",\"HaB5XN4wFF\",\"539ktf8fWg\",\"tXs_vbWW_gY\",\"O3ZK7HwG3M\",\"_gA5570p8F1\",\"CC_xzLvZoP-\",\"qZzU6wvc1A\",\"oe9PWRUbWk\",\"1wQ3FECTzB\",\"oz0uxZgPBfN\",\"ZR6iKhxyWY\",\"cwwrK0N7BG\",\"jUv6FaM73SB\",\"EKA20eSA3k\",\"LOIBF-jjE2\",\"XQgXBUvRgXe\",\"l37gf04ied\",\"08FR__ltEa\",\"N3UBbBaM_J\",\"0B0qVqM9bk2\",\"28PfOM3yEV\",\"DIzmbqL4InO\",\"8WET3fL0Ak\",\"_11QZAuARN5\",\"OzO5JukwHc\",\"Fio954KD8-3\",\"FlS4fRbMCN4\",\"9IpTeM0dyt\",\"d7A9uQSfELJ\",\"r203ojIi0h0\",\"qKPnvEaTku1\",\"2vIrjSk0PbJ\",\"0T0J2kHz6b\",\"OB5dRqgZv5\",\"3xn4iMVqo-\",\"TNXdZlfWuh\",\"PezL1J-pIbG\",\"lrA6mg1rY-\",\"ynL7Y_sAI7\",\"JawIHXGCS7J\",\"e03Z8L-8GI4\",\"6auHSfk2iV_\",\"MLILoew0iJ3\"],\"version\":\"latest\",\"imageOpts\":{\"scheme\":\"public-files\",\"publicDir\":\"../public\",\"publicUrlPrefix\":\"/\"},\"stylesOpts\":{\"scheme\":\"css-modules\",\"defaultStyleCssFilePath\":\"plasmic/plasmic__default_style.module.css\"},\"checksums\":{\"imageChecksums\":[],\"iconChecksums\":[],\"renderModuleChecksums\":[[\"vaJNt2HhFXR\",\"95c9785cb6ba3bfee3970c2756757952\"],[\"kInpAI51ih\",\"34c1490cf5aad4119c8309faa5e590f7\"],[\"tF2OAIlG0R\",\"52a27ee089c31d2e25e560138b7a09be\"],[\"E3du1Lzi5K\",\"ebcb558450f2eb3d4205f346b6ab0106\"],[\"cGsBQ5Sc01\",\"5d8c1b6dbd7383deba2ef590f808f07b\"],[\"FyOmNKc1Dv\",\"a2472425173ae4e1d3d7f589de3670af\"],[\"l2gnyudPi_\",\"1b422e5c39a7fe13bf5a1ef4556bbc53\"],[\"B9V_Bb54_GH\",\"f8600b53291e554775a789e0bd0cb3d6\"],[\"2gpqWDwJg3h\",\"23556a09b534387b1aac495484562ba9\"],[\"XnjaNRfYYh8\",\"c4c466d863e50106aa04053a07ea6c38\"],[\"xSFKo4rLsy9\",\"1dfdb3026fc982dd3a2d890733aad1c7\"],[\"WqIv8Ncc7M\",\"5c98ada20650a8b066fbbecb6abafc8d\"],[\"EYNB-Q-IGsk\",\"66dd906caffe1d4c3bbd47fefd169651\"],[\"LpefCAdWfFt\",\"63c56260e2cc973645a8d5f21c9570aa\"],[\"XFz78LQ8ok\",\"861195afe99aaebf9f10e0f485490b38\"],[\"YTjAcL9ljJ6\",\"dee1ca32e79c6898a69b64cc857667f5\"],[\"nrto231-a8R\",\"a719dc213f64401d47fcb0680be8482b\"],[\"CEGz1IMgiX0\",\"4795734b3b236ad799f95626bf414a97\"],[\"kzLsoJj-af-\",\"f0c3c5a8ce897d86b98ea810f41a9384\"],[\"AiOuVxw-6SM\",\"0f23c84b43c96506a080f9dd9baf3388\"],[\"DRZh_5L55v\",\"59dcffa5fddde2247dd755f5e15b9a73\"],[\"pNKLto9lkG\",\"5aaacbe67f814fe509acd836189a6132\"],[\"Kx01kL0ULu\",\"2da14b6bb3f1f2aa5ab3ad0258d225e6\"],[\"oymvometlq\",\"b5ecfd04c5ab4654aad5049e4333c3a7\"],[\"2qbzeH0pff\",\"8ba670ed7cee704d423b0c5880360d34\"],[\"hDdKCHSy76\",\"d8eea9d2f08256bc9554d89ea1a510c3\"],[\"LUb-qY5PzW0\",\"2490197a94685686b1c907e4b8db531c\"],[\"261hGePDxt\",\"900f638ecebf0eb228ccc4683df91ae8\"],[\"wb7rN9Wnf\",\"f96a9af59a20b43ab768fb9b606fb1f9\"],[\"_WICE1UXN1\",\"68cb44cec73db5b8296294743744fcd8\"],[\"HaB5XN4wFF\",\"3dd4c0c5d95162251923a11b791c6939\"],[\"539ktf8fWg\",\"2a07e6cc181101f0b871c8374880a1a4\"],[\"tXs_vbWW_gY\",\"e866979a5810c68b25514d652b2afe99\"],[\"O3ZK7HwG3M\",\"dfc02a0e9175cd0f56acef340e12c4c9\"],[\"_gA5570p8F1\",\"f4381824c4e623977e0ffc5235708d0c\"],[\"CC_xzLvZoP-\",\"a125e73144de73ceaf876ac9ae097dcc\"],[\"qZzU6wvc1A\",\"849db06e068382ce6dfb65234270cd53\"],[\"oe9PWRUbWk\",\"bda7d1677ff436d4c65f4f03afd6f31e\"],[\"1wQ3FECTzB\",\"5f61e854d1a77c0d68a09369cc1e75db\"],[\"oz0uxZgPBfN\",\"49fcbcfe1e602834e746feb8365d191e\"],[\"ZR6iKhxyWY\",\"756b5f089226b741aa589a8a59569f23\"],[\"cwwrK0N7BG\",\"02df4d31ff698243eb03780443f19756\"],[\"jUv6FaM73SB\",\"3540db22cf653a30c7858e1a975e7a1d\"],[\"EKA20eSA3k\",\"95b484db3282d0e432fff1aadedc570f\"],[\"LOIBF-jjE2\",\"e38f2b352b830a716cdbf4a73149ffd9\"],[\"XQgXBUvRgXe\",\"f78c76f44d09464dbcc7d723ebfbd89a\"],[\"l37gf04ied\",\"a50ce9a10c730034aa7fe4d490132c73\"],[\"08FR__ltEa\",\"907f3d95c546fa67e9c57e2b964f5998\"],[\"N3UBbBaM_J\",\"7206fef4df9a37a67b24af2f89be3174\"],[\"0B0qVqM9bk2\",\"691fd2c7c08d26936ed8af0284ac28bc\"],[\"28PfOM3yEV\",\"2015bcfa99ce2c37f4255b026ca84282\"],[\"DIzmbqL4InO\",\"f684c41251d5816323708f4a34d86532\"],[\"8WET3fL0Ak\",\"e70e3e1a61dc1d62f535ef068898b1e9\"],[\"_11QZAuARN5\",\"f9379b9acb55cd58e1598472f6edfa67\"],[\"OzO5JukwHc\",\"f1748862b116d509ff369b5a08982ca1\"],[\"Fio954KD8-3\",\"6cc39134ff84bba952f08c5fc4e4192a\"],[\"FlS4fRbMCN4\",\"5d6a2f55d7f699e155f17eb603e126d4\"],[\"9IpTeM0dyt\",\"7d0214391287798abaa76b8ba9da35dc\"],[\"d7A9uQSfELJ\",\"e0d83845e812a821a882652dcec0a533\"],[\"r203ojIi0h0\",\"0f41bbbe12cd3ba6d41842d47eee3ea2\"],[\"qKPnvEaTku1\",\"2f2da879c2bc969d0b22c32d30448ec7\"],[\"2vIrjSk0PbJ\",\"fcbb2a411fdc01bd75fec2edbc4ebaec\"],[\"0T0J2kHz6b\",\"2d581d7d663f505cf5813c64b75f2ac8\"],[\"OB5dRqgZv5\",\"1d6e9f5a50d17f2061be985e5e7d552d\"],[\"3xn4iMVqo-\",\"b2750d16ed14e99494df3e64fc791032\"],[\"TNXdZlfWuh\",\"4ce72049fa5574c639be43f1182fec82\"],[\"PezL1J-pIbG\",\"d4902e3192c9aaa51885704b05d1cdc0\"],[\"lrA6mg1rY-\",\"d526ed8e3140a6b40eb24fe7162b0881\"],[\"ynL7Y_sAI7\",\"8075b2089451123f8abb779e15f58a63\"]],\"cssRulesChecksums\":[[\"vaJNt2HhFXR\",\"95c9785cb6ba3bfee3970c2756757952\"],[\"kInpAI51ih\",\"34c1490cf5aad4119c8309faa5e590f7\"],[\"tF2OAIlG0R\",\"52a27ee089c31d2e25e560138b7a09be\"],[\"E3du1Lzi5K\",\"ebcb558450f2eb3d4205f346b6ab0106\"],[\"cGsBQ5Sc01\",\"5d8c1b6dbd7383deba2ef590f808f07b\"],[\"FyOmNKc1Dv\",\"a2472425173ae4e1d3d7f589de3670af\"],[\"l2gnyudPi_\",\"1b422e5c39a7fe13bf5a1ef4556bbc53\"],[\"B9V_Bb54_GH\",\"f8600b53291e554775a789e0bd0cb3d6\"],[\"2gpqWDwJg3h\",\"23556a09b534387b1aac495484562ba9\"],[\"XnjaNRfYYh8\",\"c4c466d863e50106aa04053a07ea6c38\"],[\"xSFKo4rLsy9\",\"1dfdb3026fc982dd3a2d890733aad1c7\"],[\"WqIv8Ncc7M\",\"5c98ada20650a8b066fbbecb6abafc8d\"],[\"EYNB-Q-IGsk\",\"66dd906caffe1d4c3bbd47fefd169651\"],[\"LpefCAdWfFt\",\"63c56260e2cc973645a8d5f21c9570aa\"],[\"XFz78LQ8ok\",\"861195afe99aaebf9f10e0f485490b38\"],[\"YTjAcL9ljJ6\",\"dee1ca32e79c6898a69b64cc857667f5\"],[\"nrto231-a8R\",\"a719dc213f64401d47fcb0680be8482b\"],[\"CEGz1IMgiX0\",\"4795734b3b236ad799f95626bf414a97\"],[\"kzLsoJj-af-\",\"f0c3c5a8ce897d86b98ea810f41a9384\"],[\"AiOuVxw-6SM\",\"0f23c84b43c96506a080f9dd9baf3388\"],[\"DRZh_5L55v\",\"59dcffa5fddde2247dd755f5e15b9a73\"],[\"pNKLto9lkG\",\"5aaacbe67f814fe509acd836189a6132\"],[\"Kx01kL0ULu\",\"2da14b6bb3f1f2aa5ab3ad0258d225e6\"],[\"oymvometlq\",\"b5ecfd04c5ab4654aad5049e4333c3a7\"],[\"2qbzeH0pff\",\"8ba670ed7cee704d423b0c5880360d34\"],[\"hDdKCHSy76\",\"d8eea9d2f08256bc9554d89ea1a510c3\"],[\"LUb-qY5PzW0\",\"2490197a94685686b1c907e4b8db531c\"],[\"261hGePDxt\",\"900f638ecebf0eb228ccc4683df91ae8\"],[\"wb7rN9Wnf\",\"f96a9af59a20b43ab768fb9b606fb1f9\"],[\"_WICE1UXN1\",\"68cb44cec73db5b8296294743744fcd8\"],[\"HaB5XN4wFF\",\"3dd4c0c5d95162251923a11b791c6939\"],[\"539ktf8fWg\",\"2a07e6cc181101f0b871c8374880a1a4\"],[\"tXs_vbWW_gY\",\"e866979a5810c68b25514d652b2afe99\"],[\"O3ZK7HwG3M\",\"dfc02a0e9175cd0f56acef340e12c4c9\"],[\"_gA5570p8F1\",\"f4381824c4e623977e0ffc5235708d0c\"],[\"CC_xzLvZoP-\",\"a125e73144de73ceaf876ac9ae097dcc\"],[\"qZzU6wvc1A\",\"849db06e068382ce6dfb65234270cd53\"],[\"oe9PWRUbWk\",\"bda7d1677ff436d4c65f4f03afd6f31e\"],[\"1wQ3FECTzB\",\"5f61e854d1a77c0d68a09369cc1e75db\"],[\"oz0uxZgPBfN\",\"49fcbcfe1e602834e746feb8365d191e\"],[\"ZR6iKhxyWY\",\"756b5f089226b741aa589a8a59569f23\"],[\"cwwrK0N7BG\",\"02df4d31ff698243eb03780443f19756\"],[\"jUv6FaM73SB\",\"3540db22cf653a30c7858e1a975e7a1d\"],[\"EKA20eSA3k\",\"95b484db3282d0e432fff1aadedc570f\"],[\"LOIBF-jjE2\",\"e38f2b352b830a716cdbf4a73149ffd9\"],[\"XQgXBUvRgXe\",\"f78c76f44d09464dbcc7d723ebfbd89a\"],[\"l37gf04ied\",\"a50ce9a10c730034aa7fe4d490132c73\"],[\"08FR__ltEa\",\"907f3d95c546fa67e9c57e2b964f5998\"],[\"N3UBbBaM_J\",\"7206fef4df9a37a67b24af2f89be3174\"],[\"0B0qVqM9bk2\",\"691fd2c7c08d26936ed8af0284ac28bc\"],[\"28PfOM3yEV\",\"2015bcfa99ce2c37f4255b026ca84282\"],[\"DIzmbqL4InO\",\"f684c41251d5816323708f4a34d86532\"],[\"8WET3fL0Ak\",\"e70e3e1a61dc1d62f535ef068898b1e9\"],[\"_11QZAuARN5\",\"f9379b9acb55cd58e1598472f6edfa67\"],[\"OzO5JukwHc\",\"f1748862b116d509ff369b5a08982ca1\"],[\"Fio954KD8-3\",\"6cc39134ff84bba952f08c5fc4e4192a\"],[\"FlS4fRbMCN4\",\"5d6a2f55d7f699e155f17eb603e126d4\"],[\"9IpTeM0dyt\",\"7d0214391287798abaa76b8ba9da35dc\"],[\"d7A9uQSfELJ\",\"e0d83845e812a821a882652dcec0a533\"],[\"r203ojIi0h0\",\"0f41bbbe12cd3ba6d41842d47eee3ea2\"],[\"qKPnvEaTku1\",\"2f2da879c2bc969d0b22c32d30448ec7\"],[\"2vIrjSk0PbJ\",\"fcbb2a411fdc01bd75fec2edbc4ebaec\"],[\"0T0J2kHz6b\",\"2d581d7d663f505cf5813c64b75f2ac8\"],[\"OB5dRqgZv5\",\"1d6e9f5a50d17f2061be985e5e7d552d\"],[\"3xn4iMVqo-\",\"b2750d16ed14e99494df3e64fc791032\"],[\"TNXdZlfWuh\",\"4ce72049fa5574c639be43f1182fec82\"],[\"PezL1J-pIbG\",\"d4902e3192c9aaa51885704b05d1cdc0\"],[\"lrA6mg1rY-\",\"d526ed8e3140a6b40eb24fe7162b0881\"],[\"ynL7Y_sAI7\",\"8075b2089451123f8abb779e15f58a63\"]],\"globalVariantChecksums\":[[\"q_37TdmMFEKX\",\"37f8ed8af157d67ac49454aa9e624f67\"]],\"projectCssChecksum\":\"32415a3acbb3b2e78534fa0461888245\",\"globalContextsChecksum\":\"\"},\"codeOpts\":{\"lang\":\"ts\",\"scheme\":\"blackbox\",\"reactRuntime\":\"classic\"},\"metadata\":{\"source\":\"cli\",\"scheme\":\"codegen\",\"command\":\"sync\",\"platform\":\"nextjs\"},\"wrapPagesWithGlobalContexts\":true}",
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json",
"x-plasmic-api-user": "REMOVED",
"x-plasmic-api-token": "REMOVED",
"User-Agent": "axios/0.21.4",
"Content-Length": 9147
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
}
}
}
Thank you and I really look forward to hearing from you soon