You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
API
5751 TopicsMissing parameter: client_id for lwc
Im working on a lwc where id like to embed a signing process in iframe, I was able to successfully retrieve sign URL, but when I try to use it on iframe I got following error, at which step do I need to set my client id? So far I used this with client id in request body String apiUrl = 'https://api.hellosign.com/v3/signature_request/create_embedded_with_template'; and request.setEndpoint('https://api.hellosign.com/v3/embedded/sign_url/' + signatureId); with just signature id in request body Also I have a problem setting body for my request, I used this class to generate json string, but when I use this approach I get error({"error":{"error_msg":"No template_id or template_ids specified","error_path":"template_id","error_name":"bad_request"}}) HelloSignJSON.Signing_options so = new HelloSignJSON.Signing_options(); so.default_type = 'draw'; so.draw = true; so.phone = true; so.type = true; so.upload = true; HelloSignJSON.Signers signer = new HelloSignJSON.Signers(); signer.role = 'Lead.Customer'; signer.name = 'Rostyslav'; signer.email_address = 'popov.rst@gmail.com'; List<HelloSignJSON.Signers> signers = new List<HelloSignJSON.Signers>{signer}; HelloSignJSON hsj = new HelloSignJSON(); hsj.template_ids = new List<String>{'90c43afee504f24a2dcd67ab7991f8f3f5900ef3'}; hsj.client_id = 'CLIENT_ID'; hsj.subject = 'Embedded Subject'; hsj.message = 'Embedded message'; hsj.signing_options = so; hsj.test_mode = true; hsj.signers = signers; String requestBody = JSON.serialize(hsj);66Views0likes3CommentsAPI 'Connection Aborted' Error
Hello! I'm downloading files from an App Folder. I am downloading each one by one, totaling over 3000 files. I left the program to run and after 201 requests I got the error pasted below. I don't have a VPN or anything that would change my wifi connection as far as I know. Here is the code I am using: print("Initializing Dropbox API...") dbx = dropbox.Dropbox(AUTHORIZATION_TOKEN) topn = filenames[:len(filenames)] for val in topn: filepath = val #download a file to the local machine with open("/Users/<PATH>/dataimport.csv.gz", "wb") as f: metadata, res = dbx.files_download(path=filepath) f.write(res.content) print("download complete") The error: RemoteDisconnected Traceback (most recent call last) File /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connectionpool.py:789, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, preload_content, decode_content, **response_kw) 788 # Make the request on the HTTPConnection object --> 789 response = self._make_request( 790 conn, 791 method, 792 url, 793 timeout=timeout_obj, 794 body=body, 795 headers=headers, 796 chunked=chunked, 797 retries=retries, 798 response_conn=response_conn, 799 preload_content=preload_content, 800 decode_content=decode_content, 801 **response_kw, 802 ) 804 # Everything went great! File /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/connectionpool.py:536, in HTTPConnectionPool._make_request(self, conn, method, url, body, headers, retries, timeout, chunked, response_conn, preload_content, decode_content, enforce_content_length) 535 try: --> 536 response = conn.getresponse() 537 except (BaseSSLError, OSError) as e: ... 684 except MaxRetryError as e: 685 if isinstance(e.reason, ConnectTimeoutError): 686 # TODO: Remove this in 3.0.0: see #2811 ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))34Views0likes1CommentAPI Error "path/not_found" when creating shared_link
When interacting with the API, I get a path/not_found error. This happens when I upload a file to dropbox using the path /2/files/upload. After that, I create a link to the file using the path /2/sharing/create_shared_link and specify the path_display received after uploading the file. The error occurs very rarely, but it does not allow you to get a link. What could be the problem?36Views0likes1Commentget_shared_link_metadata API problem with the new '/scl' folder links.
Hello, I thinkget_shared_link_metadata API has a bug with the new"/scl" links. When I send it a link to a shared folder and path to a file inside it: // https://api.dropboxapi.com/2/sharing/get_shared_link_metadata {path: "/001 (2).zip", url: "https://www.dropbox.com/scl/fo/ppu9pgy84/h?rlkey=90bu"} The response is: { ".tag": "file", "url": "https://www.dropbox.com/scl/fo/ppu9pgy84/h?rlkey=90bu&dl=0", "id": "id:2UW_T...", "name": "001 (2).zip", } In the past, the returned "url" was direct to the file, but now it's just the same folder url with"&dl=0". I need the direct link. later I need to convert it to a direct download link to the file. Please help.1.2KViews1like10CommentsDropbox refuses to connect when using embedder
When i try to use the embedder in an iframe, it shows that dropbox.com refused to connect. I made sure that i have added localhost in chooser/saver/embedder domain section in the app console, similar posts seem to have this as a solution but it does not work for me, any idea why and how to fix it?457Views0likes2CommentsAPI接続による共有設定
A,B,Cと3つのシステムにてAPIを通したファイル共有を検討中です。 以下のようなフォルダ構成で、それぞれ3システムのアクセス権を制御したいのですが、うまくいかず投稿させていただきました。 /<アカウントの名前> ├ Bフォルダ ・・・ AとBシステムが読書き可能 └ Cフォルダ ・・・ AとCシステムが読書き可能 BフォルダのリンクをBシステムに、CフォルダのリンクをCシステムに通知して、APIでアクセスしてもらおうと考えております。 (Aシステムはアカウント本人として考えています。) そもそも、この考えが間違っている、あるいは、より良い方法がありましたら、ご指摘、ご教授いただければ幸いです。 以下、上記の考えを元に、試した状況です。 1.アプリを作成し、アクセストークンを取得 2.Aシステムから、APIでファイルをアップロード 3./アプリ/<アプリ名>/Bフォルダ 配下にファイルが作成された 3.で想定と異なり、今に至ります。 APIで、/<アカウントの名前>/Bフォルダ 配下にアップロードはできないのでしょうか? Businesプランで、チームフォルダを利用しないといけないような気がしています。 よろしくお願いいたします。Solved81Views0likes5CommentsAPI Upload .HEIC and convert to JPG
I am using the API to upload images and make them public. I get the public link back and embed in my application. ALL GOOD. Now I am looking to allow .HEIC uploads. I don't see anything in the API to cause the conversion. So, I put automation on my parent folder and that seems to create another duplicate photo converted to JPG. At that point I assume I have lost the public link and I have duplicate files. I am looking for any pointers here..... thanks in advance.472Views0likes7CommentsInvalid Folder Name with Team API
I am trying to create folders using the api in a team folder like this: // Get Namespace ID const dbx = new Dropbox({ accessToken: process.env.DROPBOX_ACCESS_TOKEN }); const baseFolder = "/Data Transfers"; const customerFolder = `${baseFolder}/${folder_name}`; const dataFolder = `${customerFolder}/data`; // Create a folder in dropbox await step.run('create-customer-folder', async () => { console.log(customerFolder); await dbx.teamTeamFolderCreate({ name: customerFolder }); await dbx.filesCreateFolderV2({ path: dataFolder }); }); This should be just to create a folder under our team/Data Transfers/TestFolder but it is giving me an Invalid Folder name, what am I doing wrong? I am just getting started with the API and I am completely lost.Zapier - 409 error path/not found
Hello everyone! I'm trying to get the meta data for a file so I can access the "shared_folder_id" and then add a member (or group if possible) to that folder. It's on a team folder. I'm using Zapier as I want this to be automated upon a trigger. The issue I get is during a Post request to get_metadata, the path cannot be found (error 409) I first find a folder, which returns correctly. Then I run a custom request (http) for: https://api.dropboxapi.com/2/files/get_metadata Data: { "include_deleted": false, "include_has_explicit_shared_members": false, "include_media_info": false, "path": "<path from the previous find folder path in zap>" } I've also verified this folder path does exist (I can see it, and it's all spelt correctly). This leads me to believe it's a access or permission error, but I'm not confident. Headers: AuthorizationBearer <my actual token id> Content-Typeapplication/json Dropbox-API-Select-Admin.dbmid:<my actual token id for myself as an admin user> The folder I'm accessing has myself listed as access, and I'm also included in a group that has access. I've selected all permissions on my app to write/edit everything, generated a new auth token after saving, and I still have issues. Any help is much appreciated. I'm happy to provide any additional information as well. Thanks in advance!Solved1.7KViews0likes12Comments