Happy Business Starts Here

New Student

[Sandbox] 500 Internal Server Error

I'm trying to do a test Rest API call: REST API Reference > Connections Connections

I receive no response body:

$ curl -i -k -H "apiAccessKeyId:$ZEMAIL" -H "apiSecretAccessKey:$ZPASSWORD" -H "Accept:application/json" -X POST https://apisandbox-api.zuora.com:443/rest/v1/connections
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Expires: Thu, 23 Aug 2018 07:11:55 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Thu, 23 Aug 2018 07:11:55 GMT
Connection: close

Is an issue related with your release?

Announce: ZUORA APPLICATION RELEASE 231: AUGUST 2018

 

This issue is not reproducible on the production environment:

$ curl -i -k -H "apiAccessKeyId:$ZEMAIL" -H "apiSecretAccessKey:$ZPASSWORD" -H "Accept:application/json" -X POST https://api.zuora.com:443/rest/v1/connections
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    22  100    22    0     0     22      0  0:00:01 --:--:--  0:00:01    32HTTP/1.1 200 OK
Content-Security-Policy-Report-Only: media-src 'none'; img-src 'self' *.zuora.com; object-src *.zuora.com; script-src 'unsafe-inline' 'unsafe-eval' 'self' https://api.tcell.io/; manifest-src 'none'; style-src 'unsafe-inline' 'self'; font-src 'self'; child-src 'none'; frame-src 'none'; connect-src 'self' https://api.tcell.io/ https://input.tcell.io/; report-uri https://input.tcell.io/csp/e14f749ededb34ed6f61ee047073e7d5c02428ea31e0b1249ed5bdb2d99decec?rid=-451839198
Server: Zuora App
Content-Type: application/json;charset=utf-8
Content-Length: 22
Expires: Thu, 23 Aug 2018 07:33:07 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Thu, 23 Aug 2018 07:33:07 GMT
Connection: keep-alive
Set-Cookie: ZSession=xQ73o09Kjbu6I9cl0x9VZCOk_48ZOG0M_........; Path=/; Secure; HttpOnly

{
  "success" : true
}
2 REPLIES 2
Zuora Support Moderator

Re: [Sandbox] 500 Internal Server Error

Hi @ciubex,

 

I've just run your first Curl command against an API Sandbox tenant and it completed successfully. Do you still receive a 500 response?

 

If so, I'd recommend that you submit a request at https://support.zuora.com/ so that the Support team can investigate.

 

To help the Support team identify the failing call, please could you run the following Curl command first, then include all the details in the Support request (as you did in your post above):

 

 

curl -i -k -H "apiAccessKeyId:$ZEMAIL" -H "apiSecretAccessKey:$ZPASSWORD" -H "Accept:application/json" -H "Zuora-Track-ID:$STRUNIQUE" -X POST https://rest.apisandbox.zuora.com:443/v1/connections

 

 

Where $STRUNIQUE is a unique string provided by you. The value can be anything you like, but it should be unique so that the Support team can locate this exact API call in the Zuora system.

 

Note that the Zuora-Track-Id header is available with rest.apisandbox.zuora.com, which is the recommended REST API hostname for the API Sandbox environment.

New Student

Re: [Sandbox] 500 Internal Server Error

Sorry DavidW, I forgot to update the topic.

The problem disappeared one hour after my post.

 

Can be closed this topic.