Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Invalid_grant - Grant credentials are invalid

New post

Comments

11 comments

  • Rui Barbosa

    Hi,

    Was your Box application recently created on a free developer account?

    We had to temporarily disable some features on the free developer accounts.

    It should be back soon.

    Best regard

    0
    Comment actions Permalink
  • R C Murali Krishna

    Thanks, Rui Barbosa.

    0
    Comment actions Permalink
  • Shaniah Uy

    Hello Rui Barbosa

    Does this mean that we are unable to test any API connections when we're on free developer accounts?

    I am getting the same issue with box_subject_type = user and box_subject_id = {userId}

    {"error":"invalid_grant","error_description":"Grant credentials are invalid"}

    Are there any updates on this?

    Thanks

    0
    Comment actions Permalink
  • Rui Barbosa

    Hi Shaniah,

    Not at all.

    It means you have to temporarily use OAuth2.0 or developer tokens.

    0
    Comment actions Permalink
  • Vince Pham

    Rui Barbosa, do you know when will this be back?  I have a partner system using Box to drop files and I can't get to it using Box SDK.

    0
    Comment actions Permalink
  • Rui Barbosa

    Hi Vince,

    You should be able to temporarily use OAuth 2.0.

    Best regards 

    0
    Comment actions Permalink
  • Vince Pham

    In another word, I can only use CCG if I have a paid account, Rui Barbosa?

    0
    Comment actions Permalink
  • Rui Barbosa

    Hi Vince,

    It depends, see this thread for details.

    0
    Comment actions Permalink
  • Vince Pham

    This is a legit business purpose and I can't provide details on the public forum.  Is there a technical support system I can submit a ticket to?  I can't use OAuth2 for a backend process.  I can pay for the account, but I need to know if that will resolve the CCG blocking.  Thanks, Rui Barbosa

    0
    Comment actions Permalink
  • Vince Pham

    Rui Barbosa, I upgraded mine to a paid account and the restrictions are still there.  I can't use CCG.  How do I contact technical support on my paid account?  I do not see the menu or where I can contact.  When I chose Contact Support, it brought me to Community Forum?!

    0
    Comment actions Permalink
  • Rui Barbosa

    Hi Vince,

    It's not just a matter of being a paid account or not, only the higher enterprise tiers are allowed developer accounts for now.

    However, let me suggest a few workarounds and let me know if they would work for you.

    If you're running your app on a server you could try to use the developer token directly. This token is valid for 60 minutes and can be generated on the developer console.

    Another option is to use the OAuth 2.0. If you start the process in your client machine and pre authorize the application, eventually you will end up with a pair of access and refresh tokens. These could be used on the server app and are sufficient to instantiate the Auth and Client classes of the SDK, renewals, etc.

    My least favorite options is to use the 14 day enterprise trial aka Box Plus.   Be sure to cancel the subscription before the trial expires, or you'll be charged.

    None of this is ideal, and it is being dealt with, it's just going to take some time.

    Best regards

    0
    Comment actions Permalink

Please sign in to leave a comment.