Ask a Question

OAuth2

0 Kudos

OAuth2

Hello guys, i try to use the option 'OAuth2'(type 'Resource Owner Password Credentials Grant') and somehow causes 'Failed to retrieve access token. See logs for details...'

the logs are  no more detailed '

  • Wed Apr 13 12:20:55 EEST 2022: ERROR: An error occurred [org.apache.oltu.oauth2.common.exception.OAuthSystemException: OAuthProblemException{error='invalid_request', description='Missing parameters: access_token', uri='null', state='null', scope='null', redirectUri='null', responseStatus=0, parameters={}}], see error log for details'
  • If a set the request for access token in separate request it is up and running, as an embed Auth Profile it meets this error. If someone already met such trouble and have a solution? 

'

3 Comments
Ilario72
Occasional Contributor

Hi,
the error responseStatus=0 is the highest problem, it seems that the url is not reachable from your computer or is locked, you should at least receive one of the following responseStatus:

400 (bad request)

401 (unauthorized)

404 (not found)
Please check the documentation of the OAuth2 service that you are trying to connect and check the status code 0 meaning

 

KalinKirilov
Regular Visitor

Thank you very much Ilario. I'll check it.

KalinKirilov
Regular Visitor

Turns out 'Apigee' is not compatible with this protocol. Mandatory requires POST request.

Announcements
Welcome to the SoapUI Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here