Serve un po' di codice, almeno quello che restituisce l'errore.