And you checked that $validate_token contains the token?
$validate_token
I don’t see any other problem with your code