box-java-sdk
box-java-sdk copied to clipboard
Retrieving created Web Hooks (v2) missing information
- [yes ] I have checked that the SDK documentation doesn't solve my issue.
- [yes ] I have checked that the API documentation doesn't solve my issue.
- [ yes] I have searched the Box Developer Forums and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
- [yes ] I have searched Issues in this repo and my issue isn't already reported.
Description of the Issue
Using the latest version of the Java SDK, "2.53.0", I am trying to retrieve the information about web hooks set up by an app user.
The web hook id and target id are retuned by the API successfully, however the "address" field is not - it is always null. The triggers (if requested) are also always null.
This happens whether the normal call to retrieve web hooks is made, or a call specifying the fields to be returned.
Steps to Reproduce
- Get an API connection as an app user
- Call
BoxWebHook.all(connection)orBoxWebHook.all(connection, "target","address","triggers") - Iterate through the returned
Iterable<BoxWebHook.Info>and examine any of theBoxWebHook.Infoobjects - Fields in the object are null except for ID and target.
Expected Behavior
Requested fields should be populated and not 'null'
Error Message, Including Stack Trace
N/A, fields are just null
Screenshots
N/A
Versions Used
Java SDK: 2.53.0 Java: 8 "1.8.0_241"