7
Views
6
Comments
Solved
cannot call the api with OAuth 2.0: client credentials
Application Type
Service

I am consuming an api which requires the access token, and the access token can get from OAuth token URL with the help of client id and client secret.

so, when I test the api directly from service stuido with attached screenshot and test the api by putting the right client id and secret I get the Access Toke.

But when I try to assign values in the front in below screenshot:

And lastly I get the following error when setting the OAuth:

Can someone please help me with this.

TIA

Solution

Hi Anil,

That's a new feature released recently in platform server version 11.23.1. Is your platform already updated to that version?

Hi Aurelio,

Thanks for the reply, I am using the Version 11.54.33.

I am not sure it's even latest than 11.23.1?


That looks like your Service Studio version. You need to look at your platform server version, which you can find in the top right corner in Server Center:

Thanks @Aurelio Junior ,

The platform version I am having is 11.18.1, how can I upgrade this?

You should contact your platform administrator for that. Taking a quick look at the release notes, there seem to be a few breaking changes between yours and the latest platform version, so this is something that needs to be carefully planned and executed.

Thank you so much for the information.

I have already emailed my manager about the issue and possible solution. Again thanks for your time.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.