cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Dropbox

0 Kudos

Hi,

I have created the oauth2 client credentials in manage security by giving client id = appkey(dropbox), client secret = app secret(dropbox) and TOKEN SERVICE URL as

https://api.dropboxapi.com/oauth2/token

This oauth2 client credential name i am giving in dropbox adapter oauth credential name : say myuser.

I am getting the error 401 : unauthorized

Response Headerscache-control: no-cache, no-store, max-age=0, must-revalidatecontent-length: 0date: Mon, 23 May 2022 06:39:25 GMTexpires: 0pragma: no-cacheserver: SAPwww-authenticate: Bearer error="unauthorized_user", error_description="Bad credentials"x-content-type-options: nosniffx-frame-options: DENYx-vcap-request-id: 086abb9a-99d0-4a22-6bec-e9d91f6426cax-xss-protection: 1; mode=blockstrict-transport-security: max-age=31536000; includeSubDomains; preload;▶Response Body0
View Entire Topic
Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi rupak.bhattacharjee1,

Are you using the following procedure?

https://blogs.sap.com/2018/07/31/sap-cloud-platform-integration-oauth2-client-credentials-support-in...

If you are interested on implementing the oauth2 in the sender, then please follow the instructions from:

https://blogs.sap.com/2019/02/14/cloud-integration-inbound-http-connections-using-oauth-client-crede...

BTW: Under Open Connectors, there is an integration option for Drop Box. The following blog describes how to get it working for Google Drive, but it applies the same way for Drop Box:

https://blogs.sap.com/2019/01/15/sap-cloud-platform-open-connectors-post-payload-to-googledrive-from...

Best regards,
Ivan