`in my console i can get the URI and base64 like below; but once i try to post it to my database i will be having error....
CONSOLE.LOG
{cancelled: false, uri: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdwA…Z5pKuXQ6FSqnGhOvLZsj/D3iUPr79858EAAAAAElFTkSuQmCC', width: 476, height: 603}
NewTweetScreen.tsx:68 function (data) {
return data.uri;
}
NewTweetScreen.tsx:71 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdwAAAJbCAYAAABO/iUIAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAP+lSURBVHhe7J11nN3G9bcTO8xtmpTSNNQwO8ycODEzxjHsmpmZac2wZlzjrpmZ7bXXEGyLu/rblf57pY/f/6F7nezTJ3SIAXjRklxMe7ZjpWKUt9pynWcUpBw66oh3TFSX4NxlD31tf8cwrXizSRc8lVLF+yPcEE+0g1lCiBbEFtHWhxyyNFyzNEnycUXXSVPPvGClJVWu3ttX/75b/Kvf/sP+ff/
dispatch @ RESTController.js:302
setTimeout (async)
xhr.onreadystatechange @ RESTController.js:221
XMLHttpRequest.send (async)
dispatch @ RESTController.js:302
setTimeout (async)
xhr.onreadystatechange @ RESTController.js:221
XMLHttpRequest.send (async)
dispatch @ RESTController.js:302
setTimeout (async)
xhr.onreadystatechange @ RESTController.js:221
XMLHttpRequest.send (async)
dispatch @ RESTController.js:302
setTimeout (async)
xhr.onreadystatechange @ RESTController.js:221
XMLHttpRequest.send (async)
dispatch @ RESTController.js:302
ajax @ RESTController.js:309
(anonymous) @ RESTController.js:416
Promise.then (async)
request @ RESTController.js:410
saveBase64 @ ParseFileController.default.js:171
value @ ParseFile.js:435
value @ ParseFile.js:455
saveData$ @ NewTweetScreen.tsx:81
tryCatch @ runtime.js:63
invoke @ runtime.js:294
(anonymous) @ runtime.js:119
tryCatch @ runtime.js:63
invoke @ runtime.js:155
(anonymous) @ runtime.js:190
callInvokeWithMethodAndArg @ runtime.js:189
enqueue @ runtime.js:212
(anonymous) @ runtime.js:119
./node_modules/regenerator-runtime/runtime.js.exports.async @ runtime.js:239
saveData @ NewTweetScreen.tsx:81
onClick @ PressResponder.js:333
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:4070
executeDispatch @ react-dom.development.js:8243
processDispatchQueueItemsInOrder @ react-dom.development.js:8275
processDispatchQueue @ react-dom.development.js:8288
dispatchEventsForPlugins @ react-dom.development.js:8299
(anonymous) @ react-dom.development.js:8508
batchedEventUpdates$1 @ react-dom.development.js:22396
batchedEventUpdates @ react-dom.development.js:3745
dispatchEventForPluginEventSystem @ react-dom.development.js:8507
attemptToDispatchEvent @ react-dom.development.js:6005
dispatchEvent @ react-dom.development.js:5924
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
discreteUpdates$1 @ react-dom.development.js:22413
discreteUpdates @ react-dom.development.js:3756
dispatchDiscreteEvent @ react-dom.development.js:5889
Show 17 more frames
RESTController.js:445 Uncaught (in promise) Error: XMLHttpRequest failed: "Unable to connect to the Parse API"
at handleError (RESTController.js:445:1)