Question:
I am running a Python script which calls a Sumo Endpoint and I am receiving an "Internal Error" (500) response when attempting to make the requests.
Answer:
In March 2019 Sumo Logic implemented a security update to its API framework. This update has resulted in an Internal Server Error (HTTP 500) now being presented when the API URL being called contains additional and unnecessary forward slashes.
To address this error you will need to remove any additional and unnecessary forward slashes from the supplied API URL. This includes any case of double slashes and any trailing slash provided within the URL.
For example:
https://api.us2.sumologic.com/api/v1//search/jobs/
Should be changed to:
https://api.us2.sumologic.com/api/v1/search/jobs
Comments
0 comments
Please sign in to leave a comment.