Skip to main content
The First Step
Oct 19, 2023 12:20 PM UTC
Question

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

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
    Oct 19, 2023 1:52 PM UTC

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

    The First Step
    Oct 23, 2023 1:21 PM UTC
    PhongVu
    Community Manager
    Community Manager
    Oct 23, 2023 3:34 PM UTC

    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.