12
GMR516
6y

Just spent over 5 hours trying to figure out Microsoft’s OneDrive REST api. Basically my first time trying to do POSTs n’ stuff. I got very very close, but the server kept throwing 400 error codes. Eventually I had to give up and ask Stack Overflow. Going to bed now at 2:20am. No worse feeling then not being able to solve a problem you’re dedicated on solving. :/

Comments
  • 3
    HTTP 4xx codes are all client side errors
  • 3
    @Azer0s not necessarily, the server can throw permission denied which is a 4xx error for no fault of the client.

    First thing is to see which 4xx error you are getting, they do have meaning.

    I know that 4xx is defined as client errors but it does not actually mean that the client was at fault, just that the server claims that.
  • 1
    Hang in there, I started with the same during my internship. There is a learning curve attached with those errors.
  • 2
    @MacDev Thanks. I hope I can look at it with a fresh mind tomorrow and the issue will jump out at me.
Add Comment