Hi,
When trying to authenticate with JWT, I am getting the following error:
{"error":"invalid_grant","error_description":"Please check the 'sub' claim. The 'sub' specified is invalid."}
!pip install "box-sdk-gen[jwt]"
from box_sdk_gen import BoxClient, BoxJWTAuth, JWTConfig
jwt_config = JWTConfig.from_config_file(config_file_path="./config.json")
auth = BoxJWTAuth(config=jwt_config)
client = BoxClient(auth=auth)
service_account = client.users.get_user_me()
print(f"Service Account user ID is {service_account.id}")
I read a couple of different posts, so I see multiple reasons for this, but it's hard to tell, because the previous posts were usually closed without resolving it, eg. this one
