Message 1 of 6
Unable to access TimelineObject entity

Not applicable
05-02-2017
09:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have been trying to get the entity of a TimelineObject by simply calling TimelineObject.entity and the API documentation says that either the entity will be returned or it will return null if the TimelineObject is a group (2nd screenshot). However, since I realized that calling entity on my timeline object was doing neither, I put it in a try catch statement (1st screenshot), and since it always goes to the catch, I believe calling entity is raising an error. Is there a reason for this?
Reply
Reply