BookmarkSubscribeRSS Feed
Sandyliu
Calcite | Level 5

Hi All!

 

    When I tried to create a stored process from enterprise guide, and it returned an error as follows:

==== 

The remote server returned an error: (411) Length Required
==== 
     Is there any solution for this issue?
     
10 REPLIES 10
Kurt_Bremser
Super User

At what stage of your development process did this happen? While writing the code, while converting it to a stored process, or while calling it for testing?

Sandyliu
Calcite | Level 5

when calling it for testing

 

AllanBowe
Barite | Level 11

How did you invoke the STP?  Which client app?  Can you share a screenshot?

 

How did you create the STP?  Using the graphical interface in EG, or programmatically by running code?

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
Sandyliu
Calcite | Level 5

@AllanBowe  

 

Using a graphical interface to create a new STP .

After pressing "Finish" button in the wizard, the STP will be run.

 

Kurt_Bremser
Super User

Please supply your STP code (use the "little running man" to post code), and some example data in data step(s) with datalines, so we can test the code. Alternatively, give us a version of the code with the same logic, but using SASHELP datasets for example input.

Sandyliu
Calcite | Level 5
we tried to distinguish whether the error occurred because of the code, using only /**/ as STP code.The answer is no.
Is there any other way to test or solve this issue?
Sandyliu
Calcite | Level 5
Thank you. We opened one 2 weeks ago , but still not finding a way to solve this.
AllanBowe
Barite | Level 11
which client? which version? which platform?

more details are needed. Can you record a short video and show us the error message?
/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
Sajid01
Meteorite | Level 14

The error code 411 is an http error. 
The remote server needs the length in bytes of the message body.
Without more details about the Stored process it is difficult to provide a specific answer.
I suggest that you start with a sample stored process and then modify it and try.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 10 replies
  • 1930 views
  • 2 likes
  • 4 in conversation