SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65724: A REST transformation in SAS® Data Integration Studio causes issues for a RESTful service that uses the Content-Type header attribute

DetailsHotfixAboutRate It

When you use the REST transformation in SAS Data Integration Studio, a web service might return an error (for example, “612 - Invalid Content Type”) even after you properly define the following REST properties on the Options tab for the transformation:

  • HTTP content-type
  • HTTP charset

This issue occurs because the Content-Type entry in the header is not properly created from the two options above. For example, you select application/json as the "HTTP content-type" and utf-8 as the "HTTP charset." These selections result in the following Content-Type entry "ct" for the generated HTTP procedure call:

proc http ... ct="application/json charset=utf-8"

A RESTful service that properly parses that Content-Type entry in the header would expect a semicolon between these two values like this:

proc http ... ct="application/json; charset=utf-8"

Click the Hot Fix tab in this note to access the hot fix for this issue.

The hot fix is a Base SAS® hot fix that consists of an SPK file that must be imported to the metadata server to replace the existing transformation. Follow the installation instructions that are provided with the hot fix.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Integration StudioMicrosoft® Windows® for x644.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 8 Enterprise 32-bit4.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 8 Enterprise x644.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 8 Pro 32-bit4.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 8 Pro x644.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 8.1 Enterprise 32-bit4.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 8.1 Enterprise x644.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 8.1 Pro 32-bit4.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 8.1 Pro x644.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows 104.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows Server 20084.9029.4 TS1M4
Microsoft Windows Server 2008 R24.9029.4 TS1M4
Microsoft Windows Server 2008 for x644.9029.4 TS1M4
Microsoft Windows Server 2012 Datacenter4.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows Server 2012 R2 Datacenter4.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows Server 2012 R2 Std4.9024.9059.4 TS1M49.4 TS1M7
Microsoft Windows Server 2012 Std4.9024.9059.4 TS1M49.4 TS1M7
Windows 7 Enterprise 32 bit4.9024.9059.4 TS1M49.4 TS1M7
Windows 7 Enterprise x644.9024.9059.4 TS1M49.4 TS1M7
Windows 7 Home Premium 32 bit4.9024.9059.4 TS1M49.4 TS1M7
Windows 7 Home Premium x644.9024.9059.4 TS1M49.4 TS1M7
Windows 7 Professional 32 bit4.9024.9059.4 TS1M49.4 TS1M7
Windows 7 Professional x644.9024.9059.4 TS1M49.4 TS1M7
Windows 7 Ultimate 32 bit4.9024.9059.4 TS1M49.4 TS1M7
Windows 7 Ultimate x644.9024.9059.4 TS1M49.4 TS1M7
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.