Hi, I have been working on implementing scene classification API in javascript. There might be problems with the server configuration, a server overload, or an error in the application code that is running on the server.
I am getting this error- Error: Request failed with status code 500
at createError (C:\Users\node_modules@sentinel-hub\sentinelhub-js\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:\Users\node_modules@sentinel-hub\sentinelhub-js\node_modules\axios\lib\core\settle.js:18:12)
at IncomingMessage.handleStreamEnd (C:\Users\node_modules@sentinel-hub\sentinelhub-js\node_modules\axios\lib\adapters\http.js:202:11)
at IncomingMessage.emit (node:events:524:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
config: {
adapter: [Function: httpAdapter],
transformRequest: { ‘0’: [Function: transformRequest] },
transformResponse: { ‘0’: [Function: transformResponse] },
timeout: 0,
xsrfCookieName: ‘XSRF-TOKEN’,
xsrfHeaderName: ‘X-XSRF-TOKEN’,
maxContentLength: -1,
validateStatus: [Function: validateStatus],
Please provide solution for this.
Thank You!