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

Error getting retrieving metadata on FieldDefinition #42

Open
sierra82 opened this issue Apr 4, 2016 · 1 comment
Open

Error getting retrieving metadata on FieldDefinition #42

sierra82 opened this issue Apr 4, 2016 · 1 comment
Labels

Comments

@sierra82
Copy link

sierra82 commented Apr 4, 2016

Came across this, I think it might be a bug:

ToolingApi toolingApi = new ToolingApi();
ToolingAPIWSDL.QueryResult qr = toolingApi.query('Select metadata From FieldDefinition WHERE EntityDefinition.QualifiedApiName=\'Account\' ','ToolingAPIWSDL.FieldDefinition');

Throws the following exception:

System.JSONException: Duplicate field: ToolingAPIWSDLMetadata.PicklistValue.won_type_info

@sierra82 sierra82 closed this as completed Apr 4, 2016
@sierra82 sierra82 reopened this Apr 4, 2016
@afawcett
Copy link
Owner

Yes agree, looks odd, will take a look.

@afawcett afawcett added the bug label Apr 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants