Like Kaysie and Dinky both have said, also how long have you had it? Is this a recently purchased individual or have you had it a while? have you tried encouraging it but cutting up Wax Worms and letting them lick the goo? Species identification is really needed before any help can be given but like Dinky said Caudata can last a while without food!
Just remembered you have S.Salamandra,