• Clarius
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 3
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 5
    Replies
Hi everyone, I am trying to add a custom field to a custom object. How can I achieve this by making an api call ? Any help regarding this is greatly appreciated. Thanks!
Hi,

We are looking to enhance security of our mobile applications that integrate with Salesforce iOS and Android SDKs. How do we implement certificate pinning so that man-in-the-middle attacks are prevented? The Salesforce SDK uses an internal HTTPS connection, which are not accessible for inserting the check for Salesforce Certificate.

Any help would be much appreciated.
 

Any way to get SF server time using REST API ?

 

Thanks.....

When logging in using OAuth as a standard user, any attempt to update salesforce fields using the Remote Access REST API fails with the following:

 

Salesforce is giving response 400 which means "Bad Request". The body of the response has "

{"message"=>"insufficient access rights on cross-reference id", "errorCode"=>"INSUFFICIENT_ACCESS"}

 

Updating works fine when logged in as a user with Administrator privileges.

 

Hi,

 

I have an application that integrates with Salesforce using the REST API. Currently, it is registering the Callback URL in the Deploy - Remote Access setup, Callback URL to the following.

 

https://localhost:3000/identities/salesforce/callback

 

Everything seems to work, as my web application gets the callback. However, I want to deploy the application on multiple servers, and each has its own web server. Is there a way to "register" multiple callbacks? I tried the following and it did not work.

 

https://localhost:3000/identities/salesforce/callback,https://mydomain-name.net/identities/salesforce/callback

 

There is a web application listening on https://mydomain-name.net. How do I do this?

 

Thanks.

 

 

Hi,

 

I know there are several posts on this subject, but none of them have solved my problem. I have successfully completed the OAUTH2 workflow and gotten an Access Token and Instance URL from the OAuth2 Redirect. I then save these two and now am trying to access data using curl, as shown below.

 

$ curl 'https://na9.salesforce.com/services/data/v20.0/' -H 'Authorization: Bearer access_token
 
I get the following as the response:
 
[{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]
 
The following works fine:
 
 

I have reviewed the following posts:

 

 
 
One of them mentions I need to send an email to Alex to enable API Remote Access - is that still needed?
 
Note that the Access Token is correct and is fresh (only 10 minutes old). Instance_url is also correct.
 
Thanks
 
venkat

Hi,

 

How do I add the API Enabled permisison to my users? I am an administrator of the system, and the Add Permission Sets shows that I do not have any permissions to add. I did sign up for the Developers Edition of Salesforce

 

Thanks.

 

Hi,

 

I know there are several posts on this subject, but none of them have solved my problem. I have successfully completed the OAUTH2 workflow and gotten an Access Token and Instance URL from the OAuth2 Redirect. I then save these two and now am trying to access data using curl, as shown below.

 

$ curl 'https://na9.salesforce.com/services/data/v20.0/' -H 'Authorization: Bearer access_token
 
I get the following as the response:
 
[{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]
 
The following works fine:
 
 

I have reviewed the following posts:

 

 
 
One of them mentions I need to send an email to Alex to enable API Remote Access - is that still needed?
 
Note that the Access Token is correct and is fresh (only 10 minutes old). Instance_url is also correct.
 
Thanks
 
venkat
 
Hi,

We are looking to enhance security of our mobile applications that integrate with Salesforce iOS and Android SDKs. How do we implement certificate pinning so that man-in-the-middle attacks are prevented? The Salesforce SDK uses an internal HTTPS connection, which are not accessible for inserting the check for Salesforce Certificate.

Any help would be much appreciated.
 

When logging in using OAuth as a standard user, any attempt to update salesforce fields using the Remote Access REST API fails with the following:

 

Salesforce is giving response 400 which means "Bad Request". The body of the response has "

{"message"=>"insufficient access rights on cross-reference id", "errorCode"=>"INSUFFICIENT_ACCESS"}

 

Updating works fine when logged in as a user with Administrator privileges.

 

Hi,

 

I have an application that integrates with Salesforce using the REST API. Currently, it is registering the Callback URL in the Deploy - Remote Access setup, Callback URL to the following.

 

https://localhost:3000/identities/salesforce/callback

 

Everything seems to work, as my web application gets the callback. However, I want to deploy the application on multiple servers, and each has its own web server. Is there a way to "register" multiple callbacks? I tried the following and it did not work.

 

https://localhost:3000/identities/salesforce/callback,https://mydomain-name.net/identities/salesforce/callback

 

There is a web application listening on https://mydomain-name.net. How do I do this?

 

Thanks.

 

 

Hi,

 

I know there are several posts on this subject, but none of them have solved my problem. I have successfully completed the OAUTH2 workflow and gotten an Access Token and Instance URL from the OAuth2 Redirect. I then save these two and now am trying to access data using curl, as shown below.

 

$ curl 'https://na9.salesforce.com/services/data/v20.0/' -H 'Authorization: Bearer access_token
 
I get the following as the response:
 
[{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]
 
The following works fine:
 
 

I have reviewed the following posts:

 

 
 
One of them mentions I need to send an email to Alex to enable API Remote Access - is that still needed?
 
Note that the Access Token is correct and is fresh (only 10 minutes old). Instance_url is also correct.
 
Thanks
 
venkat

Hi,

 

How do I add the API Enabled permisison to my users? I am an administrator of the system, and the Add Permission Sets shows that I do not have any permissions to add. I did sign up for the Developers Edition of Salesforce

 

Thanks.