Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

"Missing path field" error during folder`s children iteration

New post

Comments

3 comments

  • JohannesMaria

    This looks like you are putting a phone number where a folder id is expected, and therefore likely looks like a bug in your code. Can you post an extended snippet here of your code? Where do the folders come from. Do you have test cases for your queries?

     

    The actual api url should look like this: `

    https://api.box.com/2.0/folders/

    # is invalid but I am not sure if this has been added by masking the id. It is definitely not a phone number. 

    0
    Comment actions Permalink
  • Constant9

     wrote:

    This looks like you are putting a phone number where a folder id is expected, and therefore likely looks like a bug in your code. Can you post an extended snippet here of your code? Where do the folders come from. Do you have test cases for your queries?

     

    The actual api url should look like this: `

    https://api.box.com/2.0/folders/

    # is invalid but I am not sure if this has been added by masking the id. It is definitely not a phone number. 


    Sadly, you are wrong.

    The "phone number" is inserted by the forum`s software when it recognizes the numeric string.  like this  this:

     image.png

    turns to this

     

    https://api.box.com/2.0/folders/#5***phone number removed for privacy***/items/

     

    So, still the original question is valid.

    Any thoughts?

    Thanks.

    0
    Comment actions Permalink
  • Constant9

    I was suggested by the support to update the API version from 2.20 to 2.25.0. I did so but it didn`t help.

    Still need help...

    0
    Comment actions Permalink

Please sign in to leave a comment.