You need to sign in to do that
Don't have an account?
Guiomar Fernández de Bobadilla
Trailhead - Create an Account Using REST API and Workbench
Hello,
I have this error when I try to check challenge:
Challenge Not yet complete... here's what's wrong:
Could not find an account named 'Blackbeards Grog Emporium' created from Workbench with the Description 'The finest grog in the seven seas.'
In the next picture you can see what I send by the Workbench
The result is succes and in my Developer Org I can see the Account created correctly, but the challenge isn't passed.
I have this error when I try to check challenge:
Challenge Not yet complete... here's what's wrong:
Could not find an account named 'Blackbeards Grog Emporium' created from Workbench with the Description 'The finest grog in the seven seas.'
In the next picture you can see what I send by the Workbench
The result is succes and in my Developer Org I can see the Account created correctly, but the challenge isn't passed.
In the Trailhead with SOAP Ui (https://developer.salesforce.com/trailhead/force_com_dev_intermediate/api_basics/api_basics_soap) occurs the same. It's necessary create two Accounts to pass the challenge.
All Answers
Thanks!!!
In the Trailhead with SOAP Ui (https://developer.salesforce.com/trailhead/force_com_dev_intermediate/api_basics/api_basics_soap) occurs the same. It's necessary create two Accounts to pass the challenge.
I submitted the feedback in salesforce from below window. You can also add your feedback for same module
https://developer.salesforce.com/page/Trailhead_FAQ
I think my work is correct, but the challenge verification is still giving me an error.
If you think you've completed the challenge correctly, but you are still getting errors, make sure that you are using a fresh Developer Edition that does not have a namespace prefix. (What is a namespace prefix?) If you are still having trouble, use the “Share Feedback” button in the footer or on the right column to send a support request.
Let us know if this will help you
Thank you!
Regards.
Jeff Douglas
Trailhead Developer Advocate
{
"Name" : "Blackbeards Grog Emporium",
"description" : "The finest grog in the seven seas."
}
{
"Name" : "Blackbeards Grog Emporium",
"description" : "The finest grog in the seven seas."
}
Jeff Douglas
Trailhead Developer Advocate
I'm getting the below error when Check Challenge.
There was an unhandled exception. Please reference ID: QPFKIMCY. Error: Faraday::ClientError. Message: INVALID_FIELD: description from account where name = 'Blackbeards Grog Emporium' ^ ERROR at Row:1:Column:43 encrypted field 'name' cannot be filtered in a query call
Please help.
Jeff Douglas
Trailhead Developer Advocate
Is there a way to revert back encrypting the name field in accounts? I would like to verify the settings.
METHOD NOT ALLOWED.
HTTP Method 'POST' not allowed. Allowed are HEAD,GET
Is this due to a previous Trail I may have completed?
I am getting the same error message as Rasforce1 above. Can you help, please?
(the GET and HEAD service does work fine, btw)
In my case, the issue is different. I can create the account. However, the description field always appear as New description
I tried using the v36.0 and the version v37.0
However, the issue is always the same. The description field that is the type Long Text Area(32000), apparently cannot be changed on creation.
I will use the update record in workbench to pass the challenge and update the description field as required.
Kind regards,
J
P.s: I tried with Description or description, so, the issue is not case sensitive.
Here's the workaround for this trail.
Error Message : ERROR at Row:1:Column:43 encrypted field 'name' cannot be filtered in a query call.
Issue : Name field is being encrypted, hence you will not be able to clear this trail with your existing Dev Org.
Resolution : Create a new dev org :
https://developer.salesforce.com/signup
You can easily link the new dev org with your existing trail head Id
Now login into Workbench with new dev id :
Select Post MEthod and paste the follwing :
{
"Name" : "Blackbeards Grog Emporium",
"description" : "The finest grog in the seven seas."
}
And you will pass...
Thanks
Abhishek
Please make sure you use (.) "description" : "The finest grog in the seven seas."
Use
to Execute using GET
Hope this will helps.
Thanks,
Nilotpal Roy.
1. Click the below link from Workbench
2. Run click on post->/services/data/v39.0/sobjects/account
3. Run the below code in Requested Body
{
"Name" : "Blackbeards Grog Emporium",
"description" : "The finest grog in the seven seas."
}
4. Click on Account and Search the Account-->Blackbeards Grog Emporium
5. Add the description-->
The finest grog in the seven seas.
6. Save
7. Check your trail challenge.
I also got the same error as 'METHOD NOT ALLOWED. HTTP Method 'POST' not allowed. Allowed are HEAD,GET'. The reason for this error is not having correct URI path. Please change the URI to '/services/data/v41.0/sobjects/account' and click Execute. You should not see the error now and you should see account created message. Challenge is passed now!
Thanks,
Sudhakar
I tried everything you said, but nothing works.
My Code:
My Select:
Anyone can help me?
How can I get access to Workbench for completing these exercises? I am getting following error when I try to login to workbench:
https://workbench.developerforce.com/login.php
Any ideas how to proceed on this?
Thanks,
Kamlakar
Select Production and select any version [Latest recommended]
Check the Agree to terms of service and log in with your Trailhead credentials
Let me know if you face any issue [Note: you should logged in your sales force using same credentials]
Steps:
Log in to your Trailhead DE org and navigate to Workbench.
For Environment, select Production.
For API Version, select the highest available number.
Make sure that you select I agree to the terms of service.
Click Login with Salesforce.
Once you log in successfully, you have to "ACCEPT" for allowing workspace to install in your salesforce
You can see following steps.
I always get "invalid_grant: ip restricted" error after login with my Salesforce credentials to Workbench, any ideas how to overcome that?
Thanks for your help.
regards,
Kamlakar
following screen shot:
Any help would be appreciated.
Thanks,
Kamlakar
I tried the same, only difference is I tried using the following API version, it workes for me
URL: https://workbench.developerforce.com/restExplorer.php
Method: POST
API: /services/data/v41.0/sobjects/account
Request Headers : click on Header button to see the value
Content-Type: application/json; charset=UTF-8
Accept: application/json
Request Body:
{
"name" : "Blackbeards Grog Emporium",
"description" : "The finest grog in the seven seas."
}
Still I could not pass this challenge even after creating 2 Accouns with unique IDs.
Pls suggest some solution
Hi all,
This seems to be problem with old Salesforce Orgs, where you could not even run a query in Developer Console like follows
New orgs does not give this error.It's Veryy Easyyy!!!
Make sure you all are separating the Name and Description feilds by "comma" ( I mean this one symbol ",") that's enough it is simple as that. Don't confuse more.
Its working for me.
Don't forget to appreciate if it good for you!
Hit the Like button!
This worked for me
I have created the account as instructed quite a few times, however still not able to clear tralhead challenge though the account creation is a success.
Kindly assist what needs to be done, thanks for your support
{
"Name" : "Blackbeards Grog Emporium",
"description" : "The finest grog in the seven seas."
}
Thanks
Vinay Kumar Salve
I am using the following code, however I am getting the error as "There was an issue processing your verification. Please refresh the page and try again".
{
"Name" : "Blackbeards Grog Emporium",
"description" : "The finest grog in the seven seas."
}
Please assist, thanks
Executing POST method on account object,
/services/data/v47.0/sobjects/account
{
"Name": "Blackbeards Grog Emporium",
"description": "The finest grog in the seven seas."
}
However getting below error,
CANNOT_EXECUTE_FLOW_TRIGGER
message: We can't save this record because the “contact addresses sync” process failed. Give your Salesforce admin these details. <b>An unhandled fault has occurred in this flow</b><br>An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Error ID: 588943896-195845 (1867836330)
errorCode: CANNOT_EXECUTE_FLOW_TRIGGER
Please help.
so you still have a trigger like this
trigger HelloWorldTrigger on Account (before insert) {
for(Account a : Trigger.New) {
a.Description = 'New description';
}
}
Deactivate it and you will have the description field correctly set