Skip to content
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

Unable to QUERY ValidationRule, throws GACK error #34

Closed
imchikachirag opened this issue May 21, 2015 · 3 comments
Closed

Unable to QUERY ValidationRule, throws GACK error #34

imchikachirag opened this issue May 21, 2015 · 3 comments

Comments

@imchikachirag
Copy link
Contributor

These days I'm continuously getting GACK error when I try to make a TOOLING API QUERY call.This used to work earlier.

/services/data/v33.0/tooling/query/?q=Select+Id%2C+FullName+FROM+ValidationRule+limit+100
gives error: An unexpected error occurred. Please include this ErrorId if you contact support: 1269173235-153226 (-6049864)

Am I missing something? or it's really a GACK ie salesforce issue around tooling api for ValidationRule?

@afawcett
Copy link
Owner

@chiragmehta84 so sorry for not getting back sooner...

I've not tried this recently, are you using the REST or SOAP based wrapper?

@imchikachirag
Copy link
Contributor Author

@afawcett REST based wrapper (earlier one).

@afawcett
Copy link
Owner

afawcett commented Jun 6, 2015

Ok in this case, that sounds like the REST API may have changed under the wrappers feet, though in theory the SF API backwards compatibility should avoid this. As its an undocumented error my recommendation is to reproduce the error, grab the actual URL from the debug log, reproduce it via Developer Work Bench REST tool, record the steps and send over to Salesforce Support. Reason i suggest this, is it avoids SF support focusing on the Apex wrapper side rather than the root cause. Keep me posted on what they say! 👍

@afawcett afawcett closed this as completed Jun 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants