downloadResumable.downloadAsync() returning invalid header name error

Please provide the following:

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Hello, I’m having the same problem as found in this thread: downloadResumable.downloadAsync() stopped working

It started immediately after upgrading from SDK 40 to SDK 44.
if there is a way to see the headers that DownloadResumable.downloadAsync() is sending that would be a great help.

sample code:

/// modified for convenience. based on previously working code 
let uri = "",
retrievedFile = {uri};
const downloadResumable = FileSystem.createDownloadResumable(
try {
    retrievedFile = await downloadResumable.downloadAsync();
    if ([400].includes(retrievedFile.status)) {
        console.log({ resp: await FileSystem.readAsStringAsync(retrievedFile.uri) })
} catch (e) {
    console.log({ e, retrievedFileHash }, thisFile)
    return { uri }

Hi @blackops

I don’t get the error you’re referring to: