installed databricks-connect and configured with service principal token, able to start cluster when I use command spark=SparkSession\.builder\.getOrCreate() But when trying to retrieve s3 bucket data to local machine or even i run test command example print(spark.range(100).count())
receiving error message as "invalid token"
py4j.protocol.Py4JJavaError: An error occurred while calling o22.range.
: com.databricks.service.SparkServiceConnectionException: Invalid token
Databricks-connect version is 10.4.18
python -3.8.10
java - openjdk version "1.8.0_352"
it was working fine weeks ago but now it's not working. Double checked token is correct and not expired. Anyone, Please guide me with this?