Question

Python/Databricks: Resource for parameter [accountID] is not found

  • 19 October 2023
  • 3 replies
  • 103 views

I am using Python inside of Databricks to make a call to the Data API for the call log sync. I am using JWT auth. I am following all of the instructions given on the developer website. I am able to successfuly login with JWT, but when I try to hit call-log-sync api with my accountId found in the Sandbox credentials I get the following error: Resource for parameter [accountId] is not found

I have confirmed that my account has access to the app, which has the proper permissions. What else do I need to do to get this working?


3 replies

Can you share the code with the path and the params which you used for calling the API?

@Phong Vu

1698067203413.png

To avoid providing a wrong account id, you can use the tilde '~' (as shown in all our sample code) sign instead of an account id. The system will detect the account based on the user access token.

Reply