Quantcast
Viewing all articles
Browse latest Browse all 2504

Relationship Query Throwing "Too many objects requested" (2 Comments)

Topic by Joe Seefeldt

Content

Hello, I've been trying to use ROQL to query for an Incident and it's related Contact. Whether I try to query for an Incident and it's PrimaryContact, or a Contact and join PrimaryContactIncidents I get an INVALID_REQUEST exception with the message Too many objects requested. Finally I pulled an example directly out of the Connect Web Services Developer's Guide. I still get the same exception. The example is on the Relationship Queries page of the docs. The roql is:

SELECT Contact.ID, I.ReferenceNumber FROM Contact INNER JOIN Contact.PrimaryContactIncidents I WHERE Contact.ID = 1

I just saw a post about multiple queries and chained variables. http://communities.rightnow.com/posts/9971486332 This looks like it could solve my problem, but I can't understand why I can't query for two objects; the documentation implies this is possible in many places. I'm using:

axis 2 1.6.2

wss4j 1.6.9

Thanks in advance for any help.

 

Version

May 2013

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles