Requested module experienced an error while loading

I get this error: Requested module experienced an error while loading
while trying to require a Module script. The file exists so what can be the issue?

Module trying to be requested has:

local France = {}


France.OverheadGUI = true -- true for overhead gui on check-in, false to just a normal name
France.OverheadGUIColour = Color3.fromRGB(209,209,209) -- if OverheadGui is set to true this will be the colour of the gui, change the numbers in the brackets to rgb values.

France.Class3 = true -- Set to true for 3 classes, false for 4 classes

France.GroupId = 12710811 -- This should be the ID of your group
France.StaffRank = 254 -- Minimum rank needed to access the admin panel, any rank equal to or above this number can access the admin panel

France.ECClassName = "Economy" -- This should be the name of class 1, for example: "Economy" "Basic" "Bronze"
France.ECCardName = "Economy" -- This should be the name of the class 1 card, make sure it is exact and place the actual tool into Replicated Storage!

France.PEClassName = "Business Class" -- This should be the name of class 2, for example: "Premium economy" "Basic+" "Silver+" OR "Business" "Advanced" "Silver" (if 3 classes)
France.PECardName = "Business Class" -- This should be the name of the class 2 card, make sure it is exact and place the actual tool into Replicated Storage!
France.PEShirtId = 0 -- This should be the ID that users must have in order to get the class 2 ticket 

France.BCClassName = "First Class" -- This should be the name of class 3, for example: "Business" "Advanced" "Silver" OR "First" "Gold" "Deluxe" (if 3 classes)
France.BCCardName = "First Class" -- This should be the name of the class 3 card, make sure it is exact and place the actual tool into Replicated Storage!
France.BCShirtId = 0 -- This should be the ID that users must have in order to get the class 3 ticket 

France.FCClassName = "" -- This should be the name of class 4, for example: "First" "Gold" "Deluxe" (IF 3 CLASSES THEN LEAVE BLANK)
France.FCCardName = "" -- This should be the name of the class 1 card, make sure it is exact and place the actual tool into Replicated Storage! (IF 3 CLASSES THEN LEAVE BLANK)
France.FCShirtId = 0 -- This should be the ID that users must have in order to get the class 4 ticket (IF 3 CLASSES THEN LEAVE BLANK)

return France

Ignore the comments

Usually there is a second error that comes with modules failing to load, is there one in the output?

I fixed it by adding a letter to the empty strings

1 Like

An empty string value is still a non-nil value so that shouldn’t have changed anything. Perhaps the script requiring the module was manipulating the string in some way.