The most common reason for this is that you haven’t taken your Tablet to a high enough temperature when cooking it. The Scottish Tablet mixture needs to be not only boiling for a decent time (approx. 20 mins), it also needs to reach a very high temperature to ensure it will set.