UploadAsync

新規投稿

コメント

9件のコメント

  • Lukasz Socha

    Hi,
    the code seems to be ok - I managed to upload a file using your code snippet. I think the problem is somewhere in you app settings or permissions. What application type are you using? May I ask you about the app id - I'll check your settings.

    Regards,
    Łukasz Socha

    0
    コメントアクション パーマリンク
  • koppewar k

    Hi,
    I am using .net framework 5 windows application. App name is dsr and enterprise I'd is 883637019.

    0
    コメントアクション パーマリンク
  • Lukasz Socha

    And what authentication type app do you use? JWT, CCG or OAuth. App id may be found as last part of url when you enter your app from dev console.

    0
    コメントアクション パーマリンク
  • koppewar k

    I am generating token through dev console and i am using that in SDK. I can use jwt or oauth if you suggest

    0
    コメントアクション パーマリンク
  • Lukasz Socha

    During creating the app you had to choose one of the authentication method. Did you remember which one did you choose?

    0
    コメントアクション パーマリンク
  • koppewar k

    I think jwt.

    0
    コメントアクション パーマリンク
  • Lukasz Socha

    I noticed that this error 'The grant type is unauthorized for this client_id' appears when you change some settings in Dev Console, save changes, but still use the old access token. Each settings change requires generating and using new developer token. Let me know if this was this your case - generate new developer token, try to use it and let me know if it helped.

    0
    コメントアクション パーマリンク
  • koppewar k

    I tried as you said , it worked

    thank you

    0
    コメントアクション パーマリンク
  • koppewar k

    May i know where from i get 

    <Private_Key>, <JWT_Private_Key_Password>, <JWT_Publickey>

    is this only for paid users? then how can i get token without this. I want token to be generated on the fly.

    0
    コメントアクション パーマリンク

投稿コメントは受け付けていません。