01-05-2024 11:43 AM
Hi All:
I am a newbie to use the Cisco Spark API but the issue is when i am testing a simple API it is returning me the Error which is attached in the file.
Can you gurus help me out here.
Thanks.
Solved! Go to Solution.
01-05-2024 12:21 PM
I think you're using a very old wrapper..
The Webex Rest API is available at webexapis.com, see https://developer.webex.com/ and the dedicated developer forum at https://community.cisco.com/t5/webex-for-developers/bd-p/disc-webex-developers
The deprecation of the old endpoint was 3 year ago: https://developer.webex.com/blog/introducing-the-new-webexapis-com
01-05-2024 12:21 PM
I think you're using a very old wrapper..
The Webex Rest API is available at webexapis.com, see https://developer.webex.com/ and the dedicated developer forum at https://community.cisco.com/t5/webex-for-developers/bd-p/disc-webex-developers
The deprecation of the old endpoint was 3 year ago: https://developer.webex.com/blog/introducing-the-new-webexapis-com
01-05-2024 01:19 PM
Hi @dtibbe Thanks for your reply.
So if i need to use the New Rest API it would require the entire revamping of my application. But interesting thing is i can have the required response via curl.
01-05-2024 01:30 PM - edited 01-05-2024 01:33 PM
You are correct, but I don't believe this is the cause for the issue at hand. The old api.ciscospark.com still resolves to the same addresses as webexapis.com. He should still be getting the same error(connection timeout) if he attempts doing the same calls against the new URL.
EDIT: I was a bit too quick reading the error message, I thought it was a connection-timeout and not a read-timeout.
01-05-2024 01:44 PM
Thankyou So Much @dtibbe just changing the End Point resolved my error.
Bundle of Thanks.
01-05-2024 12:42 PM
It seems that you are unable to reach api.ciscospark.com port 443 for some reason. Can you verify that you are able establish a TCP session with the API from the machine you are running your script from? You can either do this with telnet(telnet api.ciscospark.com 443) or by running the following in powershell: test-netconnection -p 443 api.ciscospark.com
01-05-2024 01:18 PM
Hi @Torbjørn Thanks for your reply. Telnet is successful and the Endpoint is reachable via curl too. The only issue is I am facing through my Application. It was running fine until 21st Nov. 2023 but what i am suspecting that maybe it is due to SSL handshake but not sure for "Read Timed Out".
Looking to resolve it.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide