Unfortunately, there’s not much recourse if a dog alerts on kratom. Their detection alone can create reasonable suspicion to search. You would need to consult a lawyer, but don’t count on getting any illegally seized kratom back.