file.getTasks() not working
I am getting below error while getting file tasks. I am getting responseJSON and after that it fails at entries.
java.lang.IllegalArgumentException: The provided JSON value isn't a valid Action.
at com.box.sdk.BoxTask$Action.fromJSONString(BoxTask.java:392) ~[box-java-sdk-2.32.0.jar:na]
at com.box.sdk.BoxTask$Info.parseJSONMember(BoxTask.java:337) ~[box-java-sdk-2.32.0.jar:na]
at com.box.sdk.BoxJSONObject.update(BoxJSONObject.java:193) ~[box-java-sdk-2.32.0.jar:na]
at com.box.sdk.BoxJSONObject.<init>(BoxJSONObject.java:52) ~[box-java-sdk-2.32.0.jar:na]
at com.box.sdk.BoxResource$Info.<init>(BoxResource.java:183) ~[box-java-sdk-2.32.0.jar:na]
at com.box.sdk.BoxTask$Info.<init>(BoxTask.java:232) ~[box-java-sdk-2.32.0.jar:na]
at com.box.sdk.BoxFile.getTasks(BoxFile.java:995) ~[box-java-sdk-2.32.0.jar:na]
-
Official comment
Hello,
I would need to see some of the code in order to further help.
Alex, Box Developer Advocate
Comment actions -
Hi Alex Novotny,
Did you find anything related to file.getTasks() method?,
I am still not able to retrieve tasks.
Please sign in to leave a comment.
Comments
2 comments