Registered and Trying to get a token via Postman - following ERCOT site/docs/support - same error - "error": "invalid_client", - #35
Replies: 3 comments 2 replies
-
Hello Bruce, Reviewing your registration, it appears that you have two subscriptions; "Public API" and "Public API2". The first is in a cancelled state. Are you using the subscription keys in API or API2 ? Regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Bruce, It seems you may be trying to use your subscription key in the call to get the Auth token. From the documentation, use the actual client_id value that is in the instructions (also used in the scope parameter). This client identification code identifies you as an ERCOT users to our authentication provider. The subscription key is only used in subsequent calls to the API endpoints. Use these parameters in a POST call exactly (only replacing $username and $password values): grant_type: password So your PostMan request should look like the following: Regards, |
Beta Was this translation helpful? Give feedback.
-
thank for the help |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have asked ERCOT 2 times about this.
They send new Public API docs. (close to website)
Seems like my key is not really setup correctly.
I even tried the - formatting in my private key - I saw in their directions. No help.
Anyone else see this error
"error": "invalid_client",
"error_description": "AADB2C90018: The client id '##privatekeyhere#######' specified in the request is not registered in tenant 'ercotb2c.onmicrosoft.com'.\r\nCorrelation ID: 73974027-9d77-4947-b932-d95f67fef61f\r\nTimestamp: 2024-06-18 21:57:51Z\r\n"
Beta Was this translation helpful? Give feedback.
All reactions