2 votes
Accepted

Comparing timestamps in SSJS

The general comparison logic is correct, I would assume the problem hides in something else. Suggestions to troubleshoot: Make sure "tokens_DE" Data Extension has fields "startDate&...
user avatar
  • 2,384
2 votes
Accepted

Attempting to upload file to AWS S3 but file is corrupt

First, I took a look at the file in a Text editor, and it started off with PK. So far, so good. I then took a look at the file through a hex editor, and saw it started with 50 4b 03 04, which are the &...
user avatar
  • 433k
2 votes
Accepted

Apex Callout Issue - System.HttpResponse [Status=Moved Permanently, StatusCode=301]

This happens because Postman automatically redirects requests that return a 3xx response. Disable the automatic redirection for 3xx responses. To do this, open the Settings tab of your request and ...
user avatar
2 votes
Accepted

What is the limit for retrieving files via standard APIs?

I can't find any limits for the REST API but I would assume you can download the full 2GB max file size. Salesforce is a professional service and your requirement doesn't seem unusual. The ...
user avatar
  • 2,688
1 vote
Accepted

Performing a query via REST-API - Solve encoding problems

Guzzle uses http_build_query, which in turn automatically encodes characters for you using PHP_QUERY_RFC1738 by default. In other words, your literal + are being encoded, and on the far end, when ...
user avatar
  • 433k
1 vote

Send data to external system on bulk update

Multiple options: Batch class callout You can use Database.GetUpdatedResult r = Database.getUpdated( 'Object API Name', StartDateTime, EndDateTime ); and send the records to the external ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible