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

V2 Webhook get file when renamed

New post

Comments

3 comments

  • DaveCloud

    Hi,

     

    Strangely enough I have just run into the same problem, tests I have carried out so far indicate that no webhook is fired when a folder/file is renamed, unless there is an undocumented file.renamed / folder.renamed. The situation is obviously more serious for folder renames as that effectively changes the path for all files underneath it, I am aware you can can resolve this using parent, but even so it is inconvenient. Love to hear a solution to this problem.

     

    Cheers

    Dave

    0
    Comment actions Permalink
  • KarelSokl

    Hi,

    according to this post (https://developer.box.com/docs/api-changelog)

     

    2017-09-1 New Event Triggers for Webhooks v2

    We added two new event triggers for webhooks v2:

    • FILE.RENAMED
    • FOLDER.RENAMED

     

    should be possible to listen to FILE.RENAMED event via Webhook V2. I have successfully created a webhook V2 with FILE.UPLOADED and FILE.RENAMED triggers, but only FILE.UPLODED trgger is actually working. I've tried all other FILE.* triggers and all works fine - except the FILE.RENAMED. I've also tried the FOLDER.RENAMED trigger and that one also doesn't work. Am I something missing? Are the F~.RENAMED triggers supported in Webhook V2 or not?

    Karel Sokl

    0
    Comment actions Permalink
  • coolcute

    Hi,

     

    Could you share me your detail setup so that I can check on Box Side why there is no event for rename?

     

    What's the webhook-id?

    What's the folder-id/file-id the webhook setup on?

    What's the folder-id/file-id you were trying to rename?

    Around when did you make the changes?

    0
    Comment actions Permalink

Please sign in to leave a comment.