Giter Club home page Giter Club logo

Comments (10)

wavemoroc001 avatar wavemoroc001 commented on May 30, 2024 1

@virtualzone

Oh, thank you so much
I have try till it work.

Screen Shot 2565-09-25 at 01 40 08

from onedrive-uploader.

virtualzone avatar virtualzone commented on May 30, 2024

Hi @wavemoroc001, can you provide a bit more information?

  • Are you logged in?
  • Does listing files work?
  • Does creating directories work?
  • Does the error only happen with specific files (i.e. size, file type) or with all the files you've tried?

from onedrive-uploader.

wavemoroc001 avatar wavemoroc001 commented on May 30, 2024

@virtualzone

  1. Are you logged in?
    I don't sure is my login is successfully ?? (as my screenshot)
    but on console log login successful and got secret.json file

Screen Shot 2565-09-18 at 01 07 28

  1. Does listing files work?
    No, it also throw same error Could not list: received unexpected status code 400

  2. Does creating directories work?
    Nope it throw error Could not list: received unexpected status code 400

  3. Does the error only happen with specific files (i.e. size, file type) or with all the files you've tried?
    In my case, I try to upload image (jpg) that size is less than 1 MB and it blow up with status 400

from onedrive-uploader.

virtualzone avatar virtualzone commented on May 30, 2024

@wavemoroc001 Thanks for your response. I've just released version 0.4.5 which includes an improved error handling (especially more verbose error messages).

Could you try again with v0.4.5 and post the output? Please also run with the "-v" (verbose) flag.

from onedrive-uploader.

wavemoroc001 avatar wavemoroc001 commented on May 30, 2024

@virtualzone
I upgrade to version 0.4.5 and still get error.
This is my log

Screen Shot 2565-09-19 at 00 35 16

For more detail

config in app registration
Screen Shot 2565-09-18 at 22 37 10

config.json
Screen Shot 2565-09-19 at 00 53 31

from onedrive-uploader.

virtualzone avatar virtualzone commented on May 30, 2024

Hi @wavemoroc001 ,

please review your "root" path setting in the config.json. It sets the root path within your OneDrive, not your local drive. Thus, it should usually be set to "/drive/root".

Secondly, please use "/" instead of "." when specifying paths in your OneDrive. So, instead of "ls ." use "ls /" (which is relative to the specified root path, see above).

Please check the README for more information.

from onedrive-uploader.

wavemoroc001 avatar wavemoroc001 commented on May 30, 2024

Hi @virtualzone
I tried follow your advices but it still get status 400

following this configuration

This is step i use app

Screen Shot 2565-09-23 at 11 34 37

config.json

Screen Shot 2565-09-23 at 11 36 38

This is root dir which i have mapped

Screen Shot 2565-09-23 at 11 33 52

from onedrive-uploader.

virtualzone avatar virtualzone commented on May 30, 2024

Hi @wavemoroc001,
I hope to have fixed the Dynamic Path Segment Error in Version 0.4.7. Could you try the new version?
However, your "root" path setting is still incorrect. Please use "/drive/root" (nothing to replace here - just copy & paste).

from onedrive-uploader.

wavemoroc001 avatar wavemoroc001 commented on May 30, 2024

@virtualzone Cloud you improve ui screen eg. add estimate time or progress bar ? when i upload large file it look like it freezing

from onedrive-uploader.

virtualzone avatar virtualzone commented on May 30, 2024

@wavemoroc001 I'm glad it's working now. Thanks for your idea on adding a progress bar/estimated time remaining. I've created a new issue for that (see above).

from onedrive-uploader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.