Getty Images API Forums

Authentication (OAuth, CreateSession, Tokens)

RSS Feed

POST /oauth2/token - Resource Owner Grant

    • ilya
    • Topic created 9 months ago

    Hello!

    I'm developing integration for one of our clients and would like to use Get Partner Channels route.

    According to documentation i need to get Resource Owner Grant access token. I send request in Api Console and receive following:

    1. {"error":"unauthorized_client","error_description":"The authorization grant or refresh token is invalid, expired, revoked or issued to another client"}

    I take key and secret from apps page and username/password that i use to login to the site. So what should i do to make it work?

    Thanks!

    Message edited by ilya 3 months ago

  1. Getty Images Matt9 months ago

    The username/password needs to be a gettyimages.com username and password. The login you use for this site is actually a Mashery login, not Getty Images.

    Additionally, we need to enable Asset Changes for your key. Which may have already been done. I'm not sure what key you're using though. If you find that you are unable to successfully call Asset Changes, send me a quick email and we'll sort it out. matt dot dahlgren at gettyimages.com.

  2. Dave3 months ago

    Hi I have the same problem. I have a new sandbox client_id & client_secret and am trying to get a token using the API console using a valid login into gettyimages.com .

    If I need 'Asset Changes' enabled how would I do that?

    thanks

  3. Mark Pitman3 months ago

    We do not allow user authentication with sandbox keys. You would need a paid license agreement to do that. If you do have that, your sales rep would be able to get you a key that will do what you want.

[ Page 1 of 1 ]