SAP Knowledge Base Article - Preview

3694061 - SAP Business Application Studio (BAS) : curl error "500 Internal Server Error"

Symptom

  • Create a BTP destination to public system https://services.odata.org/

  • curl command fails in BAS, when testing via destination : curl -v http://destinationname.dest

    $ curl -v http://testingdest.dest
    * Uses proxy env variable no_proxy == 'localhost,127.0.0.1,github.com,.github.com,.npmjs.org,.yarnpkg.com,npm.sap.com,.maven.apache.org,.repo-cache.svc.cluster.local'
    * Uses proxy env variable http_proxy == 'http://127.0.0.1:8887'
    *   Trying 127.0.0.1:8887...
    * Connected to 127.0.0.1 (127.0.0.1) port 8887 (#0)
    > GET http://testingdest.dest/ HTTP/1.1
    > Host: testingdest.dest
    > User-Agent: curl/7.88.1
    > Accept: */*
    > Proxy-Connection: Keep-Alive

    < HTTP/1.1 500 Internal Server Error
    < Cache-Control: no-cache, no-store, must-revalidate
    < Date: Thu, 11 Dec 2025 08:40:15 GMT
    < Server: envoy
    < X-Envoy-Upstream-Service-Time: 142
    < X-Frame-Options: SAMEORIGIN
    < X-Request-Id: 17850d79-b34a-4bdd-ad65-ac468fbfc86b
    < Content-Length: 21
    < Content-Type: text/plain; charset=utf-8

    * Connection #0 to host 127.0.0.1 left intact


Read more...

Environment

SAP Business Application Studio (BAS) 

Product

SAP Business Application Studio all versions ; SAP Business Technology Platform all versions

Keywords

curl, http, 500 Internal Server Error, WebIDEEnabled, HTML5.DynamicDestination  , KBA , CA-BAS-BLD , Build Application - SAP Business Application Studio , BC-CP-DEST-CF , Destination service for Cloud Foundry environment , CA-BAS-TPL , Templates - SAP Business Application Studio , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.