I can't get my CSRF token to send

I’ve tried both of the methods below but I don’t see any parameters being sent with the XHR requests when I add a file.

const uppy = new Uppy({
  meta: {_token: this._token},

    _token: this._token,

Am i missing something?

Hi, apologies for the wait. Are you using the bundle: true option for XHRUpload? At the moment, XHRUpload only sends metadata for uploads that do not use the bundle option. There is an issue about it here: https://github.com/transloadit/uppy/issues/646

Hi thanks for getting back to me and thanks for the link.

When I stopped using the TUS plugin the metafields started to work. That’s about all I know so far.

I’ve actually halted work on this project for other reasons. I will get back to it at some point and will report back here if I have any useful info.

Oh; with the Tus plugin metadata works a little differently. Tus uploads send base64 encoded metadata inside an Upload-Metadata header.