Hello,
STL files do not have a dimension stored in them, it may happen that the slicer expects different units. Let me share an article and an older forum post about this case, I hope you will find them helpful:
In the meantime, if you are exporting files for 3D printing, please use 3MF format. It has fewer possible file issues and can store important data like measurement units while STL transfers only the geometry in a quite old format.