Rn-fetch-blob: RNFetchBlob request error: url == nullnull

Created on 7 Nov 2018  ·  16Comments  ·  Source: joltup/rn-fetch-blob

"react": "16.6.0-alpha.8af6728",
"react-native": "0.57.3",
"rn-fetch-blob": "^0.10.13",

let body = [{
    name: 'image',
    data: RNFetchBlob.wrap(image.path),
  }]
RNFetchBlob.fetch('POST', 'web.fanhua.com/app/select/upload-imgs',{
   'Content-Type': 'multipart/form-data',
  },body).progress((received, total) => {
    let perent = received / total
    console.log(perent)
  }).then((response) => response.json()).then((response) => {
    console.log(response)
  }).catch((error) => {
    console.log(error)
  })

i got error RNFetchBlob request error: url == nullnull

Most helpful comment

Same problem after upgrading rn to latest version.

All 16 comments

how to solve this problem.I got the same error

I have the same error when internet is disconnected, hope this will help you)

@Evangelione have you managed to fix it? If you did, please share your solution

I have the same problem.. Why was this issue closed without any answer?

Same problem after upgrading rn to latest version.

Still having this issue, any recent updates/discoveries?

Any solution?

Any updates please?

I have the same error, how can I fix it?
why nobody can't fix it?

Hello, it's a generaly problem with many plugins or packages of React Native. Someone helpe

why this issue closed with no answer?

Having the same issue solution please..!

same issue

do we have a solution for that?

Solutions?

Any solution??. Still getting this error while trying to fetch local image on android

Was this page helpful?
0 / 5 - 0 ratings

Related issues

learnyst picture learnyst  ·  27Comments

fgagneten picture fgagneten  ·  23Comments

Traviskn picture Traviskn  ·  15Comments

alpha0010 picture alpha0010  ·  20Comments

TheWirv picture TheWirv  ·  13Comments