-
Notifications
You must be signed in to change notification settings - Fork 976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IO exception error when setting field security settings #77
Comments
Oops - I should have researched that error before submitting an issue. I see now that I needed to increase the timeout value for the webservices callout that MetadataService makes to compute results. And it's easy to do that using the handy timeout__x field of the MetadataPort class. I modified createService like so, and all is well:
|
Awesome work, i've referenced this as a known issue and resolution in the readme! |
Thanks so much @RandyTrigg This was all I needed to past the blocker |
Hi there,
I'm a total newbie to the MetadataService class, and excited by its possibilities. After downloading the class from github into a sandbox, I wrote a method to make fields editable following the advice in https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AVifIAG
I get this error: System.CalloutException: IO Exception: Read timed out
I'm betting there's some bit of setup that I haven't done. Here's my code. Anyone see anything obviously wrong (I've tried changing the p.custom setting to true and leaving it out altogether to no avail)?
Thanks!
The text was updated successfully, but these errors were encountered: