While uploading files using box API, getting 404 error. As per the error, invalid parent_id is being passed. We have checked the details and all values that are getting passed are as expected and correct. We also created a new folder for the account from which we are using the Access_Token and have provided Uploader permission to the newly created folder, but still getting the same error.
Error for reference: {readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}
{readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …} abort: ƒ (a) always: ƒ () catch: ƒ (a) complete: (...) done: ƒ () error: (...) fail: ƒ () getAllResponseHeaders: ƒ () getResponseHeader: ƒ (a) overrideMimeType: ƒ (a) pipe: ƒ ( /* fnDone, fnFail, fnProgress */) progress: ƒ () promise: ƒ (a) readyState: 4 responseJSON: {type: 'error', status: 404, code: 'not_found', context_info: {…}, help_url: 'http://developers.box.com/docs/#errors', …} responseText: "{\"type\":\"error\",\"status\":404,\"code\":\"not_found\",\"context_info\":{\"errors\":[{\"reason\":\"invalid_parameter\",\"name\":\"parent\",\"message\":\"Invalid value 'd_147318100709'. 'parent' with value 'd_147318100709' not found\"}]},\"help_url\":\"http:\\/\\/developers.box.com\\/docs\\/#errors\",\"message\":\"Not Found\",\"request_id\":\"7dbcbkgv4y0vqiiw\"}" setRequestHeader: ƒ (a,b) state: ƒ () status: 404 statusCode: ƒ (a) statusText: "error" success: (...) then: ƒ (b,d,e) get complete: ƒ () get
Please note, we tried providing Editor and Previewer Uploader access as well and it did not help resolve the issue
Please suggest how can we resolve this issue.
Thank you.
