Comments (7)
Yes. Can you describe:
- What you were doing when this happened?
- Whether you're implementing a native or hybrid app?
- What version of the SDK you're using?
- Whether you have a reasonable expectation that your connect was not, in fact, legitimately lost during your use case? That's quite a large query to be posting from a mobile device, for instance.
from salesforcemobilesdk-ios.
Native app
Last ver of SDK
I was doing a :
SFRestRequest *request = [[SFRestAPI sharedInstance] requestForQuery:(self.querys)[self.currentQuery]];
[[SFRestAPI sharedInstance] send:request delegate:self];
The query I send is about 9963 chars, less than the 10.000 limit.
from salesforcemobilesdk-ios.
Does it ever work? Or is it an error that occurs sporadically? Does it work on a simulator with a dedicated connection?
from salesforcemobilesdk-ios.
It works In a dedicated connection in the sim.... sometimes.
Do you recommend me to reduce the length of the query?
What could be the limit from a mobile device of the length of the query to evade this error if is caused by the lenght of the query?
from salesforcemobilesdk-ios.
Could you provide sample code that can reproduce the issue you're seeing?
from salesforcemobilesdk-ios.
Just use a large (closer to the 10.000 limit) soql query in a
SFRestRequest *request = [[SFRestAPI sharedInstance] requestForQuery:QUERY];
[[SFRestAPI sharedInstance] send:request delegate:self];
from salesforcemobilesdk-ios.
The solution is to avoid making this long SOQLs, and check the length of the SOQL before using.
from salesforcemobilesdk-ios.
Related Issues (20)
- Passcode Screen Not Displayed OR Disappear HOT 3
- Getting "invalid client credentials" after upgrading to SDK 11.0 HOT 4
- App cant start with login page HOT 2
- iOS SDK 10.2.0- While Sync Down received error as DOCTYPE HTML. HOT 2
- Saleforce SDK 10.2.2. is giving request time out when app moved to background HOT 2
- Using the AuthHelper and retrieving the oauth token from salesforce does not include its data on SalesforceMobileSDK-iOS HOT 1
- Request for Auto-Login After Password Creation/Reset HOT 1
- crashing with index out of range issue: isNewerThanServer HOT 2
- Can't add google recaptcha HOT 5
- SFOAuthCoordinator handleWebServerResponse: URL has no query string. HOT 4
- Hi All, Once we successfully logged using Salesforce SDK in mobile application using custom domain why it is asking for “Connect Salesforce Authentication”? HOT 3
- Hi All, Once we successfully logged using Salesforce SDK in mobile application using custom domain why it is asking for “Connect Salesforce Authentication”?
- Hi All, Once we successfully logged using Salesforce SDK in mobile application using custom domain why it is asking for “Connect Salesforce Authentication”? HOT 2
- Missing permissions for IDP Flow HOT 2
- IDP flow - provider flow stops when client logins in and out multiple times HOT 1
- Add login_hint parameter to login process HOT 1
- Sales
- Unable to log in with SSO from outside the IP restrictions of [Apply IP restrictions and relax refresh tokens] in 11.1.0 HOT 1
- Multiple Callbacks Issued on Salesforce SDK's AuthHelper.loginIfRequired() in iOS App HOT 1
- When opening any image url link, getting Failed to load resource: Too many http redirects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from salesforcemobilesdk-ios.