I’m receiving InternalErrors from my Atlas DB when running sqlSetSchema.
I’ve been running the setSchema code happily for a few days, but this morning I’m getting this error for one particular schema.
{“level”:“debug”,“time”:1707215407093,“pid”:99078,“hostname”:“35921a6184e0”,“err”:{“type”:“MongoServerError”,“message”:“an internal error occurred, correlationID = 17b13f5e1e3513cbbc4680e9”,“stack”:“MongoServerError: an internal error occurred, correlationID = 17b13f5e1e3513cbbc4680e9\n at Connection.onMessage (/app/node_modules/mongodb/lib/cmap/connection.js:231:30)\n at MessageStream. (/app/node_modules/mongodb/lib/cmap/connection.js:61:60)\n at MessageStream.emit (node:events:518:28)\n at MessageStream.emit (node:domain:488:12)\n at processIncomingData (/app/node_modules/mongodb/lib/cmap/message_stream.js:125:16)\n at MessageStream._write (/app/node_modules/mongodb/lib/cmap/message_stream.js:33:9)\n at writeOrBuffer (node:internal/streams/writable:564:12)\n at _write (node:internal/streams/writable:493:10)\n at Writable.write (node:internal/streams/writable:502:10)\n at TLSSocket.ondata (node:internal/streams/readable:1007:22)”,“ok”:0,“code”:1,“codeName”:“InternalError”},“msg”:“an internal error occurred, correlationID = 17b13f5e1e3513cbbc4680e9”}
I assumed I could download the mongo server logs, and then search for the correlationID in order to find the problem. I don’t see a correlation ID in the logfiles…
Can anybody explain what the point of the correlationID is, and how I can use it to support my system?