• Sandy Smith 3
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
I am having trouble completing the following Trailhead: Create a formula field that determines the number of days between the end date of a contract and today. This is the formula that I am using:

EndDate - TODAY() 

I keep getting the following error when I check the syntax:  Error: Formula result is data type (Number), incompatible with expected data type (Date).
Hi All
can you please share interview questions and different senarios which ask for experienced sfdc developers
 
Salesforce technical architect available for hire in Austin,Tx.

Certifications: Certified Advanced Administrator, Certified Developer, Certified Consultant, Certified Sales Cloud Consultant, Certified Service Cloud Consultant.

- Expert in Visualforce, Apex, Webservices and application architecture and design.
- Languages - C#, Visual Basic .Net, ASP.Net, conceptual knowledge of Java.
- Designed and Implemented 3 AppExchange Applications
- Led development teams onshore and offshore at a 60B company
- Very knowledgable in network design and infrastructure

Email architect@qlocal.com or call 210-885-0019 for more information.
  • October 17, 2011
  • Like
  • 1

Hey everyone,

 

I'm working on an application, and I got the OAuth2 workflow working right away, but I've been struggling with making requests afterward.

 

I get the access_token and instance_url back, and when I make a call like this:

 

 

curl -v https://__instance_id__ (na7).salesforce.com/services/data/v20.0/ -H "Authorization: OAuth access_token_from_earlier"

 

the server responds with a 401 with the following body:

[{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]

 

I've scoured the forum for solutions already, and made sure that I have API access turned on, signed up for the REST API through the developer preview form, but am still having errors all over the place.

 

Any help would be greatly appreciated.

 

Thanks!