kwillard95
10/31/2023, 8:58 PMmedplum.createBinary to store in a DocumentReference resource. The file sizes can range from small to very large. I am running into an error that says "File too large". I tried finding a size limit in the docs but was unable to find anything. What is the size limit for uploaded files?stephany
10/31/2023, 9:55 PMstefant1707
10/31/2023, 9:57 PMrahul1
10/31/2023, 10:05 PMrahul1
10/31/2023, 10:51 PMFile, Buffer, or UintArray8
3. What are you passing as your content type ?
4. Do you have a URL from which you are downloading these big files?kwillard95
10/31/2023, 11:14 PMmedplumcreateBinary and data is UintArray8
3. Content type is application/pdf
4. No, we are receiving the file directly from the user and then converting into the proper format and data type and then passing that raw file data through to the DocumentReferencerahul1
10/31/2023, 11:17 PMrahul1
10/31/2023, 11:18 PMstefant1707
10/31/2023, 11:32 PMstefant1707
10/31/2023, 11:33 PMrahul1
11/01/2023, 1:12 AMkwillard95
11/01/2023, 1:19 AMkwillard95
11/01/2023, 1:27 AMrahul1
11/01/2023, 1:27 AMcreateBinary, so there shouldn't be a major difference between the API calssrahul1
11/01/2023, 1:28 AMrahul1
11/01/2023, 1:45 AMkwillard95
11/01/2023, 2:10 AMmedplum.graphqlrahul1
11/01/2023, 2:11 AMrahul1
11/01/2023, 2:11 AMmedplum.createBinary SDK function?rahul1
11/01/2023, 2:11 AMstefant1707
11/01/2023, 2:11 AMstefant1707
11/01/2023, 2:11 AMstefant1707
11/01/2023, 2:12 AMstefant1707
11/01/2023, 2:12 AMrahul1
11/01/2023, 2:13 AMrahul1
11/01/2023, 2:14 AMstefant1707
11/01/2023, 2:14 AMstefant1707
11/01/2023, 2:14 AMrahul1
11/01/2023, 2:17 AMcreateAttachment SDK helperrahul1
11/01/2023, 2:17 AMrahul1
11/01/2023, 2:17 AMrahul1
11/01/2023, 2:22 AMAttachment datatyopestefant1707
11/01/2023, 2:24 AMstefant1707
11/01/2023, 2:25 AMrahul1
11/01/2023, 2:26 AMrahul1
11/01/2023, 2:27 AMstefant1707
11/01/2023, 2:27 AMstefant1707
11/01/2023, 2:28 AMrahul1
11/01/2023, 2:29 AMrahul1
11/01/2023, 2:30 AM<a> or <object> tagstefant1707
11/01/2023, 2:31 AMkwillard95
11/01/2023, 7:42 PMUInt8Array but when I pass it as a url, it turns into a binary string and when I try to transform into UInt8Array, there is an error saying the pdf is invalid. How do I transform this Binary data into a UInt8Array or URL so that it is consumable by an external library?rahul1
11/01/2023, 11:55 PMstorage.medplum.com string as a URL? That would be the recommended wayrahul1
11/02/2023, 2:39 AMrahul1
11/02/2023, 2:40 AMstorage.medplum.com/.... into your browser?kwillard95
11/02/2023, 9:36 PMmedplum.download to download the Binary as a blob, but I am having a trouble using the direct URL to get the blob. Instead, I am parsing the URL string to build a Binary reference but I know this isn't the best way to go about it. When I pass the URL, I get a "Can't fetch" error. Am I using this method wrong?rahul1
11/03/2023, 12:08 AMBinary referenced from a DocumentReference?kwillard95
11/03/2023, 1:37 AMBinary url is referenced from a DocumentReferencekwillard95
11/03/2023, 3:39 PMstorage.medplum url while trying to fetchrahul1
11/03/2023, 4:29 PMrahul1
11/03/2023, 4:30 PMrahul1
11/03/2023, 5:41 PM