function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tzach yarimitzach yarimi 

“No target url” in REST response

I'm using the REST API to make the following SOQL query:
https://<instance_name>.salesforce.com/services/data/v29.0/queryAll?q=SELECT+WhoId,+WhatId,+Account.Name,+Who.Name,+What.Name,+Id,+AccountId+FROM+Task+WHERE+Id+IN+('<TASK_ID_1>','<TASK_ID_2>',...,'<TASK_ID_22>')
Where <TASK_ID_1> ... <TASK_ID_22> are 22 different Task Ids. This usually works fine but for one specific customer the response from the query is just the string "No target url" (without the quotes, just the string, without JSON formatting).

The same query works just fine for many other customers, and other queries for this specific customer work as well. What may be the cause for this behavior?
Sumitkumar_ShingaviSumitkumar_Shingavi
1. Check if that customer who facing issue has most up to date package with v29 or onword releases.
2. If User have API Access enabled on it's profile
3. Go through Debug Logs and analyse.
EnreecoEnreeco
It could be a "false positive" exception, in the sense that the error is not explicative.
Have you made the query in other ways? I mean, can you do the same query using, e.g., Dataloader?
Maybe too many records?
(I'm just proposing :) )

--
May the Force.com be with you!