• GT1945
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 7
    Replies

Response Status Code: 400 BadRequest Response Body
: [ { "message": "Cannot deserialize instance of double from VALUE_STRING value or request may be missing a required field at [line:2, column:3]", "errorCode": "JSON_PARSER_ERROR" } ]

Request Body: { "Guest_Bedrooms__c": "
", "FirstName": "", "LastName": "
", "Email": "test@fb.com",
"Phone": " ",
"PostalCode": "

I cannot ingest leads and getting the above error. Any idea how I fix this?
 
  • February 06, 2019
  • Like
  • 0
I'm having trouble on this solution as well.  I'm pretty sure I've completed all of the steps but am getting the
"Could not find a properly routed case. Ensure that you've setup Omni-Channel correctly by following the requirements."
error as well.  The issue I seem to be having is that after changing ownership of the case to the queue "High Priority", I am not getting a notification in the Omni-Channel widget box to accept.  It just says "You have no active requests".  Does anyone have any suggestions? 
I have to use Oauth JWT flow to got the access token but while i execute my code then it show me following error,
 
{
     "error" : "invalid_grant",
     "error_description" : "user hasn't approved this consumer"
}

I setup all the related things like create the App and upload the certificate and also create the currect JWT token as per doc Here
and post the following request for access token,
 
HttpPost httpPost = new HttpPost("https://login.salesforce.com/services/oauth2/token");
httpPost.addHeader("Content-Type", "application/x-www-form-urlencoded");
List<NameValuePair> params = new ArrayList<NameValuePair>();
params.add(new BasicNameValuePair("grant_type", "urn:ietf:params:oauth:grant-type:jwt-bearer"));
params.add(new BasicNameValuePair("assertion", clientAssertion));			
httpPost.setEntity(new UrlEncodedFormEntity(params));
HttpResponse response = httpClient.execute(httpPost);

And I also accept the application and related permission by following request,

https://login.salesforce.com/services/oauth2/authorize?client_id=3MVG9ZL0ppGP5UrDITkMBDGuTYGHeynoEt40ZRWCcaYsycFHYDcm2LnqukCNurLNx33LH1c.0rrfG8VrQaqri&redirect_uri=https://localhost/myapp&response_type=code     

I think I done all the things to get the access token but I M GETTING ERROR.
Could you please somebody help me for solving this problem.
Thank You. 
Hi everyone,

I'm working through the "Working with Custom Lightning Components" module in Trailhead.

I'm up to the challenge where you add a 'Contacts for Today' component to a page named 'MyPage'.

I have set up MyPage, installed the component, dragged it onto the page and activated the page.

But it's not working.

I get the following error message when I click 'Check Challenge':

Challenge Not yet complete... here's what's wrong: 
The 'MyData' Lightning App does not include the 'Contacts for Today' custom component.

Any ideas how I can fix this?

Thanks ahead of time.

Cheers,
Jonathan Conway | Service NSW