Error retrieving a Domo API Access Token

user03643
user03643 ⚪️

I was running a python script that connects to Domo using my client id and secret and it was running fine till about an hour ago when I started getting an error message:


File "/.virtualenvs/strat/lib/python3.8/site-packages/pydomo/Transport.py", line 87, in _renew_access_token

  raise Exception("Error retrieving a Domo API Access Token: " + response.text)

Exception: Error retrieving a Domo API Access Token: {"error":"invalid_client","error_description":"Invalid state of user ([my user id]) owning client: [my client id]"}


I reverted my script back to the last working version and I'm still getting this message.

I've tried using a new client id and secret.

I've tried resetting my local environment.

None of this worked.


Any ideas?

Answers

  • AaronSinclair
    AaronSinclair New Zealand ⚪️

    Same issue here... Working fine for months across multiple systems and broken this morning.

    Wondering if this will escalate due to domo connectors using client auth


  • AaronSinclair
    AaronSinclair New Zealand ⚪️

    Did your organization enable MFA recently by any chance?

  • @user005412 we've had MFA for a long time, so I don't believe anything changed there.

  • AaronSinclair
    AaronSinclair New Zealand ⚪️

    Looks like DOMO is working on this issue. I am getting token auth back on some requests now.

    Auth API Response is varied including

    {"status":500,"statusReason":"Internal Server Error","message":"Internal Server Error","toe":"xxxxxx-xxxx-xxxxx"}
    


  • GrantSmith
    GrantSmith Indiana 🥷

    Domo was having some connectivity issues yesterday which were impacting some of my API scripting but it appears to have been resolved now.


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

    Hi There,

    We are getting similar error. May I know how do you pass Client ID and Secret in Postman.