- Topics: Active | Unanswered
#1 2015-09-03 12:13:29
- Jeremy
"Invalid" error from event-info in API
I have a folder that contains seminar events. When I fetch its information with sco-expanded-contents, it looks something like this:
<results>
<status code="ok"/>
<expanded-scos>
<sco depth="0" sco-id="920422180" type="folder" ... >
....
</sco>
<sco depth="1" sco-id="926615656" type="event" ... >
...
</sco>
...
</expanded-scos>
</results>
If I take the SCO ID from any of the events in that listing and try to call event-info with them, I get a result like this:
<results>
<status code="invalid">
<invalid field="event-info" type="unavailable" subcode="missing"/>
</status>
<preferences acl-id="926615656" lang="en" time-zone-id="35"/>
</results>
In the admin UI, I can view <domain>/admin/event/sco/info/event-info?sco-id=926615656 just fine, but trying to get the same information out of the API gets me that error.
What is going on here, and how can I fix this problem?
Thanks!
Jeremy.
Offline