question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uppy version 2.1.0 does not pass fields to TransloadIT

See original GitHub issue

Latest Uppy version does not support passing custom fields to TransloadIT. Older versions do.

Any way to get that fixed or provide the appropriate code to use? See the code below that works in previous Uppy versions:

.use(Uppy.Transloadit, {
            getAssemblyOptions(file) {
                return {
                    params: {
                        auth: { key: 'XXXXXXX' },
                        template_id: 'XXXXX'
                    },
                    fields: {
                        lbGUID: 'AAAAA',
                        movGUID: 'BBBBB',
                        thGUID: 'CCCC'
                    }
                };
            },
            waitForEncoding: true
        })

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Honasoncommented, Sep 30, 2021

I’m having the same problem 👍

0reactions
Mazek19commented, Sep 20, 2021

There is no visible error. I console.log the filed names that are supposed to be returned by TransloadIT assembly. They are all empty. The code is below:

uppy.on(‘transloadit:complete’, (assembly) => {

    if (assembly.ok === 'ASSEMBLY_COMPLETED') {
        console.log(assembly.fields.movGUID)
        console.log(assembly.fields.thGUID)
        console.log(assembly.fields.lbGUID)
    }    
});

The fields are also missing on TransloadIT site’s assembly details. As per my original post, the fields never make it to transloadIT. Params get through, but not the assembly fields.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transloadit - Uppy
As of Uppy version 0.24, the Transloadit plugin includes the Tus plugin to handle the uploading, so you no longer have to add...
Read more >
uppy/CHANGELOG.md at main · transloadit/uppy - GitHub
In this release Companion gains support for setting 3rd party credentials in runtime and will now pass metadata to S3. Ukrainian locale has...
Read more >
jQuery SDK | Transloadit Docs
Until Uppy reached 1.0, our jQuery SDK was the recommended way to integrate Transloadit with web browsers. This is no longer the case...
Read more >
The World's Most Advanced File Uploading and Processing Blog
Recently, a customer asked how many fields can be passed using our Zapier ... we are launching version 1.0 of Uppy, our file...
Read more >
#integrations | Transloadit
Today, we are excited to announce version 2.1.0 (up from 2.0.0) of our jQuery SDK. ... If you are not familiar with Go,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found