sandbox-api.spotware.com returns 500 internal server error

Created at 06 Aug 2016, 00:40
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
RK

rkaramc@gmail.com

Joined 26.07.2016

sandbox-api.spotware.com returns 500 internal server error
06 Aug 2016, 00:40


Hi:

Trying out the java tutorial for the Connect API at https://github.com/spotware/connect-java-tutorials.

Am on "Lesson 2. Get Trading Data" now - I get the following error when executing the app. I am able to successfully reach the schema endpoint (connect/schema).

Requested URL:https://sandbox-api.spotware.com/connect/tradingaccounts?oauth_token=...
app.AccountsAPIException: Server returned HTTP response code: 500 for URL: https://sandbox-api.spotware.com/connect/tradingaccounts?oauth_token=...
	at app.AccountsAPI.getTradingAccounts(AccountsAPI.java:92)
	at app.App.printAccounts(App.java:21)
	at app.App.main(App.java:38)
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://sandbox-api.spotware.com/connect/tradingaccounts?oauth_token=...
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at app.AccountsAPI.callURL(AccountsAPI.java:66)
	at app.AccountsAPI.getTradingAccounts(AccountsAPI.java:84)
	... 2 more

Please fix the server error, or advise how I can avoid the HTTP 500 response.

Thanks


@rkaramc@gmail.com
Replies

rkaramc@gmail.com
14 Aug 2016, 21:48

RE:

Hi: Is anyone from spotware monitoring this forum?


@rkaramc@gmail.com

Spotware
22 Aug 2016, 17:31

Dear Trader, 

Thank you for the report. Our technical team is investigating it. 


@Spotware

Spotware
30 Sep 2016, 09:40

Sorry for not following up on this thread sooner, does this happen often, has it happened since? 

We are not able to look very deeply without precise time and date of the event. If there is a next time, please provide more information. 

 


@Spotware

rmssf
03 Oct 2016, 13:51 ( Updated at: 21 Dec 2023, 09:20 )

RE:

Spotware said:

Sorry for not following up on this thread sooner, does this happen often, has it happened since? 

We are not able to look very deeply without precise time and date of the event. If there is a next time, please provide more information. 

 

Hello sir,

Yes, it has been happening frequently.

Here are some screenshots taken moments ago:


@rmssf

rkaramc@gmail.com
07 Nov 2016, 23:39

RE:

Hi!

Am now able to connect to the server and get responses in Java, Python and a REST client (Insomnia)! Thanks for resolving the issue.

Thanks
Rajeev


@rkaramc@gmail.com