Тёмный

Connect to Salesforce using Postman 

Подписаться
Просмотров 108 тыс.
% 1 218

In this video you'll learn that how you can connect to your Salesforce Org using Postman Rest Client. If you want to learn about integration, standard and custom Salesforce APIs then this is the very basic step you must know for that. If you liked this video, do share, subscribe and give your suggestions and feedback in comments below.
Linked Blog:- www.sfdcstop.com/2019/01/how-to-connect-to-salesforce-with.html
Update:- While you're using this approach make sure you don't have any whitespaces in any of the inputs and also that you're using security token appended with password.
P.S.:- If you're getting an 'INVALID SESSION ID' error, vivsas13 comment below may help you :-)

Опубликовано:

 

14 фев 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 224   
@georgechanturidze1409
@georgechanturidze1409 3 года назад
This is x100 more informative than the confusing and outdated Salesforce documentation. Thank you!
@sfdcstop
@sfdcstop 3 года назад
Glad it was helpful! Thank you George :-)
@rohitshrivastava6111
@rohitshrivastava6111 2 года назад
Great Job! People like you make the lives of developers easier.
@H2daB
@H2daB 5 лет назад
Thank you for providing a clear teaching. I will be sure to share.
@__semidulce
@__semidulce 4 года назад
Brief and clean explanation and examples! Better than all the courses I paid for in udemy! Thank you so much! ❤️❤️❤️
@sfdcstop
@sfdcstop 4 года назад
You're very welcome Semiha 😊 Glad to know that you liked it...!!
@johnbritolima
@johnbritolima 4 года назад
03:00 - Creating the Connected app on Salesforce 09:05 - Creating the requests on Postman
@vishnuguntika7142
@vishnuguntika7142 Год назад
Clear cut understandable more than others , Thank you
@narendrasa2280
@narendrasa2280 3 года назад
GReat explaination brother , clean and crisp to the point. Keep up the good work
@sfdcstop
@sfdcstop 3 года назад
Thank you brother, will do!
@kamatchidevisargunanathan2793
@kamatchidevisargunanathan2793 4 года назад
Good Session. Thanks for sharing!
@Alquerian
@Alquerian 3 года назад
Fantastic! You did a great job explaining this. Thank you so much :D
@sfdcstop
@sfdcstop 3 года назад
Glad it was helpful!
@jannayaksingh
@jannayaksingh 3 года назад
Thank you so much for this video. Easy to follow and learn . Great tutorial
@sfdcstop
@sfdcstop 3 года назад
Glad you liked it buddy. Do share it among others as well 😊 #KeepLearning
@saikrishna2589
@saikrishna2589 Год назад
Amazing explanation and demonstration . I am a complete beginner and yet I was able to connect to data and extract from salesforce using Postman by following your steps.
@sfdcstop
@sfdcstop Год назад
Glad it was helpful!
@nikhilvijay6522
@nikhilvijay6522 3 года назад
That was a simple superb and sweet session😊👍🏻
@aradhikachawla8467
@aradhikachawla8467 4 года назад
Very nice. Thank you so much. Indeed it was a great tutorial. We really appreciate your efforts to make this for all of us in very easy way. I spent yesterday good amount of time in configuring above but failed. Reason, did not knew what is important and what to ignore. 1) Like you mentioned in case of grant_type password callback URL in salesforce connected app does not have any significance this is great t to know other videos did not mentioned that. .2) when using password grant_type we need to get access code using postman do it by post by passing url in endpoint and key value in headers not by passing param or going in options authorization. Basically some knowledge of postman is required like key value comes under param and it comes under header and also it comes under body form data as well.so following exact screens you show is very imp.
@sfdcstop
@sfdcstop 4 года назад
You're right Aradhika. I'll take care to keep more stress at the important points in future videos :-) Hope you resolved the issues at the end and were able to connnect to Salesforce via postman.
@SanjayKumar-kc8og
@SanjayKumar-kc8og 5 лет назад
Nice Tutorial Rahul. Keep up the great work :)
@sfdcstop
@sfdcstop 5 лет назад
Thank You for your feedback Sanjay..!! Make sure to share it in your network too 😊😊
@TheSoftwareShop
@TheSoftwareShop Год назад
Thanks!! Salesforce documentation is garbage, after 8 hours of confusion this solved the problem for me in 5 mins.
@TelanganaPrime
@TelanganaPrime 2 года назад
Helpful confident clear clarity
@anshulkanaujia3308
@anshulkanaujia3308 3 года назад
Rocking Video Rahul ji 100 times better then others and more informative. Really too happy after watching this video 😎😎
@sfdcstop
@sfdcstop 3 года назад
Glad to know that you liked it Anshul Ji, Keep Learning 😃
@hamzashamshad4689
@hamzashamshad4689 4 года назад
Nice explanation. Thanks
@malcolmlaven7682
@malcolmlaven7682 2 года назад
thank you SFDC Stop very informative and helpful
@sfdcstop
@sfdcstop 2 года назад
Glad it was helpful!
@ilovepizza8263
@ilovepizza8263 2 года назад
thank you for this video, it is very valuable
@viniasija6291
@viniasija6291 5 лет назад
Very Nice..Explained it in a very well way.
@sfdcstop
@sfdcstop 5 лет назад
Happy to know that you liked it Vini 😊 Make sure to share it in your network too...!!
@jayalakshmirajasekaran1016
@jayalakshmirajasekaran1016 2 года назад
Thanks for your video and the web page.. saved my day!! Thanks a lot sir.
@sfdcstop
@sfdcstop 2 года назад
Glad it helped!
@charlesmason6026
@charlesmason6026 4 года назад
Great Video tutorial thanks for the help!
@sfdcstop
@sfdcstop 4 года назад
Glad it helped 😊
@TheBeastBananas
@TheBeastBananas 2 года назад
You are good at explaining things in a simpler way without compromising on detailing. I would urge you to start your udemy courses
@sfdcstop
@sfdcstop 2 года назад
Hi Deepak, thank you for the suggestion. I'll try to create one :)
@Yoursonlyadi
@Yoursonlyadi 4 года назад
Superb explanation ..Very lucid ..!! Thank you so much.
@sfdcstop
@sfdcstop 4 года назад
So happy to know that you liked it Aditya 😁 Make sure to share it in your network too...!!
@Yoursonlyadi
@Yoursonlyadi 4 года назад
@@sfdcstop Done already..!! :)
@vivsas13
@vivsas13 4 года назад
Great Tutorial.. I am new to Postman and SalesForce and this was a lifesaver . But after I tried all the steps, I was still getting an 'INVALID SESSION ID" error when making the final API call. Googled for the issue and the issue was that in Postman 'Settings' the 'Follow Authorization header' was OFF. After turning it ON it started working. Would be great if you could add that point also into the video.
@sfdcstop
@sfdcstop 4 года назад
That's amazing vivsas thanks for sharing, I have never faced such issue so was not aware of this. I'll highlight your comment in the video description 👍
@ravikant2878
@ravikant2878 3 года назад
This is a life saviour comment specially when you are new to Postman. Thanks @visvas13 :)
@jothiram
@jothiram 3 года назад
@@sfdcstop But ideally we should not face this issue, i assume it should work without this feature being turned on. Could it be some session settings in salesforce?
@sfdcstop
@sfdcstop 3 года назад
This is only the case with postman, I think. Even I haven't faced this issue when I called the API using postman itself. It's coming to some users because of their postman settings.
@messoufi35
@messoufi35 4 года назад
Thank you for sharing
@matrixchakraborty7161
@matrixchakraborty7161 2 года назад
Very useful.thank you
@awinashgoswami
@awinashgoswami Год назад
Nice and very useful
@shivadumnawar467
@shivadumnawar467 Год назад
Thanks for the info.
@conio786
@conio786 3 года назад
This is so simple and easy to understand video
@sfdcstop
@sfdcstop 3 года назад
Glad you think so!
@kabirsingh4023
@kabirsingh4023 4 года назад
good explanation !
@gauravchauhan1303
@gauravchauhan1303 2 года назад
Very well explained!!
@sfdcstop
@sfdcstop 2 года назад
Thank you Bro!
@coolhand412
@coolhand412 5 лет назад
Perfect explanation
@sfdcstop
@sfdcstop 5 лет назад
Thank you for your feedback buddy, do share it in your network 😊
@srujangowda8490
@srujangowda8490 2 года назад
Awesomeeeeee!!!!
@ravishankar-yk4br
@ravishankar-yk4br 2 года назад
Thank you buddy, you save my day
@sfdcstop
@sfdcstop 2 года назад
Glad I could help!
@workoutone8271
@workoutone8271 2 года назад
Fantastic
@shrikaps
@shrikaps 4 года назад
Just one question, instead if passing parameters as form data in request body, can we send those parameters as combined in json format?
@sfdcstop
@sfdcstop 4 года назад
Hi Shrikant, when we're passing the parameter in the request body, we're actually sending them in form-data format. I am not sure if JSON input is supported by standard APIs or not but I guess it does, give it a try yourself and let me know if you face any issues :-)
@ananyarealworld15
@ananyarealworld15 2 года назад
Your videos are really helpful! Thank you so much for such wonderful explanation. Could you please create a video on how to integrate Salesforce with SAP? That's my request.
@sfdcstop
@sfdcstop 2 года назад
Hi Ananya, Glad you find the videos helpful! I can create one but I don't have access to any SAP environment as of now. Meanwhile if you've any specific queries, feel free to add those in comments or on our group: t.me/sfdcstopdiscuss
@ananyarealworld15
@ananyarealworld15 2 года назад
Thank you for replying. No I just wanted to know how salesforce can be integrated with any third party system. Not necessarily SAP, but any third party would do. Actually I am quite new to integration, hence requesting you if you can create any video like that, it would of great help! Thanks a lot again!
@sfdcstop
@sfdcstop 2 года назад
Usually REST APIs are used for that purpose. This tutorial series will teach you all the basics about that: Salesforce Integration Tutorial Series: ru-vid.com/group/PLuL63vr-9xHzI83rrXaXHDcsfVqzrp0iO
@ananyarealworld15
@ananyarealworld15 2 года назад
Ok great! Thank you!
@arijitnagchowdhury3740
@arijitnagchowdhury3740 4 года назад
Thanks .. one quick question - Can we do it by 'basic authentication' instead of 'Connected app/oauth' ? . Does SFDC not support basic authentication ?
@sfdcstop
@sfdcstop 4 года назад
Hey Arijit, as per my understanding, Salesforce doesn't support basic authentication. However if you still need to implement such use case I prefer to create a public site and implement a custom basic auth by yourself for any requests to that site.
@balakiranmaimadanu6674
@balakiranmaimadanu6674 4 года назад
Hi, I am kiranmai thank you for your valuable msg I had one question that can you give tutorial on how the postman tool is connected to market live chat in sales force who to create lead and engagement
@sfdcstop
@sfdcstop 4 года назад
Hi, I have not worked on that actually, if you can share a doc or something maybe, I can create a tutorial in future.
@tarunmj
@tarunmj 3 года назад
Thank you so much!
@sfdcstop
@sfdcstop 3 года назад
Glad to know that you liked it Tejender, do share it in your network too 😊
@heenaanif348
@heenaanif348 2 года назад
You are awesome
@user-um2dw7lq9d
@user-um2dw7lq9d Год назад
Thanks Man :)
@MIt-ql5bo
@MIt-ql5bo 5 лет назад
Thanks a lot!
@sfdcstop
@sfdcstop 5 лет назад
Happy to see that you liked it. Make sure to share it in your network too 😊😊
@manishshaw2393
@manishshaw2393 Год назад
Nice explanation , can u make video on authorizing postman to salesforce using Authentication code flow as well. Thanks for your Contribution. Is it possible with postman ,if yes then will the server(salesforce here) will respond with authorization code in that case instead of direct access token as response to 1st POST request? and then postman will have to do 2nd POST request along with this Authorization code to get access token?
@sfdcstop
@sfdcstop Год назад
Hi Manish, I recently added a video on Authorization code flow too, you can watch it here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-jQydnOaifng.html
@cool120326
@cool120326 4 года назад
Hi Buddy, thanks for session. I am already working on salesforce test instance in my org but I have a doubt. I have created connected app and I am able to play. around with the Auth token which I got it from above. but users in my organisation is unavailable to login in a sam way as it is giving them authorization error. Only difference is that I am system Administrator user and others not. Question: How can I make other colleagues in my org connect ? what settings should I change to allow users to access my connector app which I have created. Can I connect with you on call if possible? Thanks, Hitesh
@sfdcstop
@sfdcstop 4 года назад
Hi Hitesh, we usually create an integration user and give that user access to the connected app using a permission set. So, you can follow the same approach :- create a permission set and link it with the connected app and also link that permission set with the users that you want to interact with your org and they'll be able to generate token. In case you still face any issues you can DM me on telegram or join our group here:- https;//t.me/sfdcstopdiscuss
@cool120326
@cool120326 4 года назад
@@sfdcstop as I checked it said there is no group name in Telegram, can you add me my id is @hitesh195 ?
@sfdcstop
@sfdcstop 4 года назад
@@cool120326 Done buddy
@razlond159
@razlond159 2 года назад
lifesaver
@pankajsharma-un5ki
@pankajsharma-un5ki 2 года назад
Nice Tutorial Rahul thanks to solve my query which I was looking. One query only can we call salesforce Apex Rest API Integration with postman?
@sfdcstop
@sfdcstop 2 года назад
Yes, you can call your custom apexrest api from postman
@shilpammasonestop
@shilpammasonestop 3 года назад
Nicely taught... I have a question.. you said it is easier with username password flow, rather than the authorization code flow.. I saw other videos using authorization code flow and I felt, it was much easier than this username password flow.. can you please tell me what could be the reason?
@sfdcstop
@sfdcstop 3 года назад
If you felt that easier. Go for it...!!
@shilpammasonestop
@shilpammasonestop 3 года назад
@@sfdcstop i only wanted to know if there is any r reason for it ... does it make any difference and if there is any specific situation we need to use them
@sfdcstop
@sfdcstop 3 года назад
For server-server communication -> use authorization code flow. For server-client communication -> use username password flow.
@anshulchauhan1039
@anshulchauhan1039 3 года назад
it was perfect
@locle8929
@locle8929 4 года назад
I saw you created a callback URL, but I don't see it being used anywhere. What is callback URL and when is it used?
@sfdcstop
@sfdcstop 4 года назад
Hi Loc Le, the callback URL is mainly used in Authorization Code Flow which is server to server connection. Here, I've demonstrated the username-password flow i.e. server-client connection, the callback URL in auth code flow is mainly used to append the authorization code which is appended at the end of the callback URL of your server. The code is then used to again make a request and in exchange we get the token. You can have a detailed look here:- help.salesforce.com/articleView?id=remoteaccess_oauth_web_server_flow.htm
@viveksylvester4567
@viveksylvester4567 3 года назад
Hi, Your Video was so helpful. when I tried the same, I am getting "error": "invalid_grant", "error_description": "authentication failure" even after passing the Security token. Could you please suggest any way. Thanks in advance
@sfdcstop
@sfdcstop 3 года назад
Hi Vivek, I personally faced this error message when the connected app wasn't prepared (it takes 5-10 mins to be ready for use). If everything is correct on your side (no white spaces in request params), wait for some time and try again. It should work.
@syedmustafahasan3812
@syedmustafahasan3812 4 года назад
Hi I'd followed all the steps accordingly as described in the video but it still giving the error, even though I have added Security token along with my passowrd, also have checked for white blank spaces. { "error": "invalid_grant", "error_description": "authentication failure" } Can you please help me out ASAP. Thank you
@sfdcstop
@sfdcstop 4 года назад
Hi Mustafa, there should be no issues then if you've checked. Can you send me a DM:- @rahulcoder on twitter or @imrahulmalhotra on instagram and we'll resolve that issue.
@kallamsalesforce1153
@kallamsalesforce1153 2 года назад
If you create a connected App in dev Env when you deploy it in the test env the clientId,Client secrete Id, Passowrd, Username will remains same because in test endpoint will be test URL?
@sfdcstop
@sfdcstop Год назад
Ideally you should not be able to deploy such an app with client id/secret or a new client id/secret should be generated
@UrbanVolleyball
@UrbanVolleyball Год назад
Thank you for this video. Extremely helpful. I manage to connect and get access token however, when using Oath 2.0 authorization, I get 'Invalid Session ID'. Am I missing something? Thank you.
@sfdcstop
@sfdcstop Год назад
Hi Felix, when are you getting this error?
@UrbanVolleyball
@UrbanVolleyball Год назад
@@sfdcstop I get this error after get changing the authorization from "Inherit auth from parent" to Oath 2.0 and setting up the available token. When I do get new token tit executes to success but when I try sending a subsequent request I get Invalid Session ID
@sfdcstop
@sfdcstop Год назад
Can you share how you're setting the existing token in the request? Maybe something is missing there as you should be able to use existing token easily.
@insabadji2729
@insabadji2729 3 года назад
Hi I have a problem. Does it exists another method we can use without getting the token of the user to connect or having access token. from Salesforce.
@sfdcstop
@sfdcstop 3 года назад
Yes you can use server to server authentication. This is client to server auth
@Mranudeep33
@Mranudeep33 4 года назад
I have tried the following steps.. could able to generate the access token and was able to access the versions using this url.. this is working fine.. but when I append some other it is not working... And also what is the use of the sample URL which was given at the time of creating connected app...
@sfdcstop
@sfdcstop 4 года назад
Hi Anudeep, what do you mean by some other here ? If you're talking about the callback url that we added in connected app then it's useful when we have a server to server connection. Here postman is a client so we can give any url as we're having a client-server connection. Have a look at my other video in which I have explained how to connect two Salesforce Orgs. I have given a specific callback url there and not any sample URL
@Mranudeep33
@Mranudeep33 4 года назад
@@sfdcstop Thank you..this helps me to understand.....
@manisha6822
@manisha6822 3 года назад
Hi Rahul, Do we need to provide Access token while performing actual callout?
@sfdcstop
@sfdcstop 3 года назад
Hi Manisha, Yes...!! Access token is required when you're connecting to salesforce from external system.
@manisha6822
@manisha6822 3 года назад
@@sfdcstop Hi Rahul, 1. Could you please let me know where is the access token part in the code. 2. Do we need to do it once or for every user?
@sfdcstop
@sfdcstop 3 года назад
Hi Manisha, it depends on which language you're using in your external application to connect to Salesforce. If you're using the client-server way then the process will be the same, first get the access token and then call the required API. I would recommend using the server-server connection if possible. The user whose login creds are used to get the access token will be marked as the user for any Operations in Salesforce through API.
@shivamv240
@shivamv240 4 года назад
Can we pass query parameters for POST method without code ? I want to pass JSON data to salesforce.org using a URL only. The requirement is to avoid code and send data by using a URL.
@sfdcstop
@sfdcstop 4 года назад
Hi Shiva, I think a GET request should work fine in that case, you don't need a POST request for this.
@anshulkanaujia3308
@anshulkanaujia3308 3 года назад
Hello Rahul Sir You doing very good. But when I am trying to Post same data then a error Returns. Invalid header type
@sfdcstop
@sfdcstop 3 года назад
Hi Anshul, maybe you're not using a post request or there is something wrong with the request header. Can you try again?
@anshulkanaujia3308
@anshulkanaujia3308 3 года назад
@@sfdcstop thanks for your reply there was a simple syntax error
@swarajish
@swarajish 4 года назад
Even after using security token with password, i am not able to move ahead. I am getting error as {"error":"invalid_grant","error_description":"authentication failure"}
@sfdcstop
@sfdcstop 4 года назад
Hi Swaraj, make sure there is no whitespace in any of the input while you're making a request. Please try again once and let me know how it goes.
@rajeshwarisavalagi2525
@rajeshwarisavalagi2525 2 года назад
is it possible to apply REST API for trial version of Salesforce?, i have 30 days of access to salesforce
@sfdcstop
@sfdcstop Год назад
I am not sure but don't think so. Try using a developer environment instead: developer.salesforce.com/signup
@SumanKumar-ic2fn
@SumanKumar-ic2fn 3 года назад
can you please make a video on how to connect to salesforce from postman in case of 'single sign on' login in salesforce. How to get the access token in this case?
@sfdcstop
@sfdcstop 3 года назад
Sure, Please add your suggestion here:- www.sfdcstop.com/p/what-do-you-want-us-to-post-next.html
@jafferhussain8707
@jafferhussain8707 3 года назад
I tired but I didn't recieve any token can u say why? I didn't get token @sfdc stop { "error": "invalid_grant", "error_description": "authentication failure" } 400:The request cannot be fulfilled due to bad syntax. Can you please help me out? I have used grant_type password
@sfdcstop
@sfdcstop 3 года назад
This is a generic error so there can be multiple reasons. Please make sure that you're using the right client id and secret with no whitespaces, you're using a post request and have used security token as well along with password
@sagarbhasate7449
@sagarbhasate7449 3 года назад
Thank you
@sfdcstop
@sfdcstop 3 года назад
You're welcome buddy!
@ANASKHAN786
@ANASKHAN786 3 года назад
Very good explanation however i'm not getting what to provide in Callback URL
@sfdcstop
@sfdcstop 3 года назад
Callback URL will be used only when you're following a server-server authentication. Here we're having client-server auth so you can add anything for the callback url as we're not using it.
@vishnuspankaj4925
@vishnuspankaj4925 3 года назад
Hi, For me its showing Bad Message 400 reason: No Host for checking access_token ,Can you help me?
@sfdcstop
@sfdcstop 3 года назад
It usually occurs when the request syntax is not correct. Can you check you've the exact client id and secret and you're making a post request from postman?
@akshatacganjigatti3905
@akshatacganjigatti3905 3 года назад
Thanks for the video. I am able to generate access token but getting below error while sending query { "message":"session expired or invalid" "errorCode":"INVALID_SESSION_ID" }
@sfdcstop
@sfdcstop 3 года назад
Hi Akshata, maybe you're adding some whitespace in the authorization header token while making the request, please make sure you copy the token without any whitespace and try again.
@akshatacganjigatti3905
@akshatacganjigatti3905 3 года назад
@@sfdcstop I have verified, not adding whitespace in Authorization header. But still getting same error
@sfdcstop
@sfdcstop 3 года назад
Usually there is a whitespace issue only when this error appears, can you check if you're sending the request to the correct url ?
@varshadustakar5805
@varshadustakar5805 3 года назад
thanks alot....can some1 help me out with url to send mail whenever we insert,update or delete data in postman tool which is connected to salesforce through connected app
@sfdcstop
@sfdcstop 3 года назад
Hi Varsha, in order to send an email you can create a custom REST API which will call your apex method and you can have your email logic written in your apex method. You can checkout the integration tutorial series Part 1-6 to understand how you can build your custom APIs in salesforce
@varshadustakar5805
@varshadustakar5805 3 года назад
@@sfdcstop thanks alot for info
@ajitgupta116
@ajitgupta116 Год назад
hii, I'm still stuck with this error what does it mean ?? { "error": "invalid_request", "error_description": "must use HTTP POST" }
@sfdcstop
@sfdcstop Год назад
Hi Ajit, maybe you're using the GET or any other method in your request insted of POST. Can you check it?
@matrixchakraborty7161
@matrixchakraborty7161 2 года назад
can we do the same for Basic Authentication instead of Auth 2.0 ?
@sfdcstop
@sfdcstop 2 года назад
Salesforce doesn't support basic auth
@easysfdc
@easysfdc 2 года назад
Hey !! Is this whole integration playlist is updated ????!!Can I learn this ??
@sfdcstop
@sfdcstop 2 года назад
Hi Sitesh, I haven't added any new tutorial in the meanwhile, but yes you can still use it because nothing is updated in the concepts explained that I am aware of.
@2882jatin
@2882jatin 3 года назад
Hello I followed the steps you mentioned. However, am getting the following error Note: I did add the security token to the password { "error": "invalid_grant", "error_description": "authentication failure" }
@2882jatin
@2882jatin 3 года назад
SOLVED : Changed the password without any special characters after which it started working
@sfdcstop
@sfdcstop 3 года назад
Great Jatin, thanks for sharing. I guess it was a whitespace issue because maybe you copied and pasted the password in postman
@2882jatin
@2882jatin 3 года назад
@@sfdcstop No, it was not paste and copy issue. I confirm that it was because of special character in the password
@karthicks8958
@karthicks8958 3 года назад
Hi Rahul, What happens if i change my password?Do I have to inform my third party every time while changing?
@sfdcstop
@sfdcstop 3 года назад
Hi Karthik, you're right you need to notify the 3rd party each time the password is updated. For this purpose, we usually create a separate Integration user into the org and share that user's creds.
@karthicks8958
@karthicks8958 3 года назад
@@sfdcstop thanks rahul.makes sense
@arunjose8263
@arunjose8263 3 года назад
after attaching the security token also i am getting the same authentication failed error Please help
@sfdcstop
@sfdcstop 3 года назад
Hi Arun, Please check for whitespaces.
@vijaykumar-ut1ze
@vijaykumar-ut1ze 3 года назад
How to use query with filter condition or sub query ..can you give the example
@sfdcstop
@sfdcstop 3 года назад
Hi Vijay, I think you can directly try placing a subquery here instead of a query and it should work fine, as the query API should be able to deal with any type of queries
@vijaykumar-ut1ze
@vijaykumar-ut1ze 3 года назад
@@sfdcstop I am getting 411 length required for content length when trying to hit sales force api
@vijaykumar-ut1ze
@vijaykumar-ut1ze 3 года назад
@@sfdcstop is there any limits for hitting the sales force application API from postman?
@sfdcstop
@sfdcstop 3 года назад
Please make sure you're using the GET method
@charsipandavlog1
@charsipandavlog1 4 года назад
Hi , Thanks for the video but i am getting an error { "error": "invalid_grant", "error_description": "authentication failure" } Can you please help me out? I have used grant_type password
@sfdcstop
@sfdcstop 4 года назад
Hi Sachin, can you please check if there are any white spaces in your input that you're sending through postman ?
@charsipandavlog1
@charsipandavlog1 4 года назад
@@sfdcstop I was filling the wrong password, :D MY BAD thanks for the great video, looking forward to more videos.
@swathia8281
@swathia8281 3 года назад
hey I'm getting like this what to do { "error": "invalid_client_id", "error_description": "client identifier invalid" }
@sfdcstop
@sfdcstop 3 года назад
Sometimes connected app take some time to get ready to be used. Have you waited for 10 mins and tried again?
@diptonildeka8059
@diptonildeka8059 4 года назад
Can we create user account by Salesforce API call via postman?
@sfdcstop
@sfdcstop 4 года назад
Hi, I haven't tried that but I think it should be possible we can try treating the user as a normal object and posting the relevant data there to create the user. Have a look at this for reference. developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_create.htm?search_text=user We can create a user in scratch org and that's also created by hitting an api so I think you can use the same json format while trying to create a user which can be found here:- developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_users_def_file.htm Hope that helps..!!
@diptonildeka8059
@diptonildeka8059 4 года назад
@@sfdcstop I will update you.. actually doing it on test environment on Developer Edition. How I can be in best tough with you for my querries?
@sfdcstop
@sfdcstop 4 года назад
Join our telegram group:- t.me/sfdcstop
@diptonildeka8059
@diptonildeka8059 4 года назад
@@sfdcstop shows not available
@sfdcstop
@sfdcstop 4 года назад
Just search for @sfdcstop on telegram and you can join the channel and group there.
@rakeshkumar-zz6ej
@rakeshkumar-zz6ej 4 года назад
Nice Tutorial but i need to know how to upload and download Files From SFDC through postman
@sfdcstop
@sfdcstop 4 года назад
Thanks Rakesh, It depends if you're using a standard or custom API and what is the file size.
@Madura_Sam
@Madura_Sam 2 года назад
SFDC Stop can you please provide video to load CVS file on SFDC
@vijjik7588
@vijjik7588 3 года назад
Error: getaddrinfo ENOTFOUND creative-impala-do5h1i-dev-ed.salesforce.com getting this error when trying to post lead from Postman
@sfdcstop
@sfdcstop 3 года назад
Please check your internet connection once and try again
@vijjik7588
@vijjik7588 3 года назад
@@sfdcstop tried but still same error persists
@vijjik7588
@vijjik7588 3 года назад
@@sfdcstop resolved it as given URL wrong but now facing Session expired or invalid error. Guess the auth token is expired , how can i solve this problem??
@sfdcstop
@sfdcstop 3 года назад
Are you using security token appended with password ?
@vijjik7588
@vijjik7588 3 года назад
@@sfdcstop yes i am using password +token
@shashankapalagiri2605
@shashankapalagiri2605 2 года назад
Hi, I have done exactly what you have shown in the video and also in the link that you have provided. but unfortunately, I am getting stats: '411Length Required'. I am doing a 'get' call. I see that 'Content-Length' is and I don't have the option to set it manually. I am not able to finish the get-call. Please help me. Thanks, Shashanka
@sfdcstop
@sfdcstop 2 года назад
Hi Shashanka, can you tell me which API you're trying to hit from postman? Have you tried the callout from any other tool or cURL?
@ashiduos_sfdc
@ashiduos_sfdc Год назад
In case you are getting this error while doing GET call from postman : [ { "message": "Session expired or invalid", "errorCode": "INVALID_SESSION_ID" } ] use this solution -> Setting -> Turn on 'Follow Authorization header'
@jarvisjackson1632
@jarvisjackson1632 4 года назад
unsupported_grant_type","error_description":"grant type not supported" is the error that I'm getting as well. I'll seek help from you on IG
@sfdcstop
@sfdcstop 4 года назад
Hi Jarvis, I think I missed your message on IG, will check and reply to that.
@veenuspandey2677
@veenuspandey2677 3 года назад
At last I am getting this ,while executing this get api SELECT+Name,Type+FROM+Account , : { "message": "TotalRequests Limit exceeded.", "errorCode": "REQUEST_LIMIT_EXCEEDED" }
@sfdcstop
@sfdcstop 3 года назад
You've exceeded the API limit of your Salesforce Instance. Try again after 24 hours and it should work
@veenuspandey2677
@veenuspandey2677 3 года назад
@@sfdcstop for this api or any of the api, I am getting the same error everytime, haven't got the result single time
@sfdcstop
@sfdcstop 3 года назад
The limit is exceeded for all the APIs not only this one. You can try again later
@veenuspandey2677
@veenuspandey2677 3 года назад
@@sfdcstop thank you, I will check again after 24 hrs
@sowmyasp2528
@sowmyasp2528 4 года назад
It was nice session. could you please let me know how can I able to login to salesforce throufgh using PHP Curl
@sfdcstop
@sfdcstop 4 года назад
Hi Sowmya, just use the same method by calling out two different URLs in Curl. One for getting token and another for hitting actual api by keeping the token obtained from previous request in header.
@pujamaheshwaripoddar6017
@pujamaheshwaripoddar6017 4 года назад
@@sfdcstop Thanks Rahul! Very Helpful tutorial. Can we generate the token in Postman using above steps and use it in some other application? Will that work? Or token has to be generated from that application only which is going to make the Api call?
@sfdcstop
@sfdcstop 4 года назад
@@pujamaheshwaripoddar6017 Hi Puja, yes you can generate the token and use it in other application and it'll work but be careful as every token comes with an expiry limit. So, once it's expired, you can't use it anywhere.
@pujamaheshwaripoddar6017
@pujamaheshwaripoddar6017 4 года назад
@@sfdcstop Thanks so much for your prompt reply Rahul! Can you please guide me how do I get token which never expires? Not sure just changing the "Refresh Token Policy:" to "Refresh token is valid until revoked" will help. I need to provide a token to an external client who will update some fields on one of our custom object. If you can point me in any direction that will be very helpful as now when I am testing with my above token I am also getting INVALID_SESSION_ID.
@pujamaheshwaripoddar6017
@pujamaheshwaripoddar6017 4 года назад
Just to add I need this token for automation. I am little confused here. Do I need to generate the token myself which never expires or I need to provide them the api user and pwd along with Client id and secret and they will generate and refresh the token themselves. I thought I can just provide them the token and that way I won't need to share above sensitive info with them. I have a feeling they will have to handle this. Please advice if I am on a right track or not. Generally how it works when we integrate SF with other systems?
@GitPremache1234
@GitPremache1234 2 года назад
Can I get Your Notes sir ... which is very helpful to me ...pls
@sfdcstop
@sfdcstop 2 года назад
Hi Vaibhav, the related blog's link should be in the video description. You can check that out!
@GitPremache1234
@GitPremache1234 2 года назад
@@sfdcstop ohk
@biswajitsamantaray3117
@biswajitsamantaray3117 2 года назад
I see the access token. But where is the refresh token??
@sfdcstop
@sfdcstop 2 года назад
Hi Biswajit, this is the implementation of username-password flow, we don't get refresh token in this flow. You need to implement web server flow in order to get the refresh token.
@aniketchikode8553
@aniketchikode8553 3 года назад
Error: Error 405 Only POST allowed
@sfdcstop
@sfdcstop 3 года назад
Hi Aniket, I think the error message is itself descriptive...you need to do a post request instead of a get.
@bayu9359
@bayu9359 3 года назад
you save my live
@phanikumar39
@phanikumar39 4 года назад
Please give me u r blog details ,thanks
@sfdcstop
@sfdcstop 4 года назад
https;//www.sfdcstop.com
@johnbritolima
@johnbritolima 4 года назад
Work on your accent, for the love of god.
@sfdcstop
@sfdcstop 4 года назад
Haha...thanks for your feedback john.
@DickLarsson
@DickLarsson 3 года назад
SFDC Stop Your accent is cool 💙
@BA-wn8sd
@BA-wn8sd 3 года назад
Very useful. Thanks
@sfdcstop
@sfdcstop 3 года назад
Glad to know that you liked it buddy. Keep Learning...!!