I am Unable to login into SOAP API it shows internal server error For API Basics module name Use SOAP API
I am Unable to login into SOAP API it shows internal server error For API Basics module name Use SOAP API
Have been trying to login to my trailhead playground from soapui for hours now. Still the same message "INVALID LOGIN" keeps coming.
Any help is appreciated.
Thank you.
Module:
Unit:
Use SOAP API
sf project deploy preview
(node:26712) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error (NonSourceTrackedOrgError): This org does not have source tracking.
Hi,
I created the message channel xml file following the instruction, and tried to deploy it, but got an error message "Maximum size of request reached. Maximum size of request is 52428800 bytes.". Deploying lwc works well to me, but not work for message channel xml.
Thank you.
Thank you all. After upgrading to the latest version of CLI, the issue was gone.
Hi all,
I get a 401 error (specifically, [{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}] ) when I try to follow the steps in the trailhead challenge Connect Postman to Salesforce. It worked fine on Friday but now it is not.
I do notice that the request is being redirected from *.lightning.force.com to *.my.salesforce.com. I have the latter set in variables for both url and _endpoint, so I'm not sure why the request is even going to the former. I'm not sure if the request was being redirected when it was working or not.
Thanks,
Matt
Hello @Sai Kiran Reddy Karingula
The problem first showed up in Platform API Basics > Use Bulk API 2.0.
I had earlier completed Quick Start: Connect Postman to Salesforce with no issues. I then went on to complete Platform API Basics > Use REST API and Platform API Basics > Use SOAP API. But now any attempt to get a token, use it, and try to make any API call to my playground org results in
[{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]
Thanks,
Matt
Platform API Basics>Use SOAP API
Everything i did correctly
HTTP/1.1 500 Server Error
Date: Tue, 12 Nov 2024 17:55:53 GMT
Cache-Control: no-cache,must-revalidate,max-age=0,no-store,private
Set-Cookie: BrowserId=XFJMY6EfEe-XW2NlUYL1kA; domain=.salesforce.com; path=/; expires=Wed, 12-Nov-2025 17:55:53 GMT; Max-Age=31536000; secure; SameSite=None
Content-Type: text/xml; charset=UTF-8
Transfer-Encoding: chunked
the process is this
Since you’re making an API request from an IP address unknown to Salesforce, you need to append your security token to the end of your password. For example, if your password is mypassword and your security token is XXXXXXXXXX, enter mypasswordXXXXXXXXXX inside the <urn:password> element.
Click your Avatar in the upper right of the screen, select Settings, then choose Reset My Security Token under My Personal Information. Click Reset Security Token to send an email to the email address associated with your Trailhead Playground with your token.
Your SOAP message looks something like this.
https://trailhead.salesforce.com/content/learn/modules/api_basics/api_basics_soap
I am stuck in the login process where it asks you to login via the software. I get the error invalid login, Exception Message: malformed id: organizationId
Any suggestions?
Thanks
Please be careful following advice provided in these answers, as they have been created using generative AI and (in addition to violating Trailblazer Community Terms) are packed with errors.
@Paul Kuriyan is mentioning that one of the queries will show all unused data extensions. How do you define unused? If this query actually worked (which it doesn't - more on this later) it would return all data extensions not used in historic sends. There can be MANY other relevant data extensions, e.g. with purchase history, ongoing data imports and many others which are necessary, but never used for sends.
You are querying _DataExtension Data View, which does not exist - and is clearly an AI hallucination. Also, you are fetching DataExtensionObjectID field from _Sent Data View. The field does not exist on this view. So it is both impossible to query all data extensions on an account, as well as get the data extensions used in sends.