Exception: Error retrieving a Domo API Access Token

I keep getting this error when i call Domo(domo_client_id, domo_client_secret, api_host='api.domo.com')

Exception: Error retrieving a Domo API Access Token: {"status":401,"statusReason":"Unauthorized","path":"/oauth/token","toe":"######"}

Tagged:

Best Answer

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Seems like an error with your id and secret. Can you create a new pair and try with those?

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**

Answers

  • Have you created a Client ID and Client Secret from developer.domo.com and are you passing those value into your Domo constructor?

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • Yes I am

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Seems like an error with your id and secret. Can you create a new pair and try with those?

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**