Skip to main content
The First Step
October 19, 2023
Question

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

  • October 19, 2023
  • 3 replies
  • 133 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

    PhongVu
    Community Manager
    Community Manager
    October 19, 2023

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

    The First Step
    October 23, 2023
    PhongVu
    Community Manager
    Community Manager
    October 23, 2023

    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.