Help win trying to call to other blueprints

when ever i try to access any variable outside of a blueprint throught the object variable it gives me this error"
Error This Blueprint (Self) is not a MainGameMap_C, therefore ’ Target ’ must have a connection