You need to sign in to do that
Don't have an account?
Greg Diercks
Trailhead Challenge not working. Apex Rest API unit in tralead
The account we're supposed to create via workbench has been successfully created. But when I perform the "Challenge" I get this:
There was an unhandled exception. Please reference ID: MKNQAVZC. Error: Faraday::ClientError. Message: INVALID_FIELD: description from account where name = 'Blackbeards Grog Emporium' ^ ERROR at Row:1:Column:43 field 'name' can not be filtered in a query call
I guessed what the query would be and executed this in the developer console query tab:
select name from account where name = 'Blackbeards Grog Emporium'
I get the same error in the developer console:
[object Object]: select name from account where name = 'Blackbeards Grog Emporium' ^ ERROR at Row:1:Column:32 field 'name' can not be filtered in a query call
I can't move on in the module until this challenge is met. Any ideas?
There was an unhandled exception. Please reference ID: MKNQAVZC. Error: Faraday::ClientError. Message: INVALID_FIELD: description from account where name = 'Blackbeards Grog Emporium' ^ ERROR at Row:1:Column:43 field 'name' can not be filtered in a query call
I guessed what the query would be and executed this in the developer console query tab:
select name from account where name = 'Blackbeards Grog Emporium'
I get the same error in the developer console:
[object Object]: select name from account where name = 'Blackbeards Grog Emporium' ^ ERROR at Row:1:Column:32 field 'name' can not be filtered in a query call
I can't move on in the module until this challenge is met. Any ideas?
It looks like you are using an org that was used for another challenge where you encrypted the name field in accounts. You won't be able to pass this challenge with that org, you'll have to sign up for a new DE org and do the challenge in that one.
Also refer below link for similar discussion.
https://developer.salesforce.com/forums/?id=906F0000000kCkSIAU
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards
Sandhya