found generate_params error, secret_key should not show