Error REST API
-
Hello,
I have an error message (below). However, I managed to do it on the test environment. Can you help me please.
An error occurred while connecting to the REST API. Try Again.
{“message”:”Request failed with status code 500″,”name”:”Error”,”stack”:”Error: Request failed with status code 500\n at e.exports (https://univers-crampons.fr/wp-content/plugins/webp-converter-for-media/assets/build/js/scripts.js?ver=3.2.2:1:5390)\n at e.exports (https://univers-crampons.fr/wp-content/plugins/webp-converter-for-media/assets/build/js/scripts.js?ver=3.2.2:1:7817)\n at XMLHttpRequest._ (https://univers-crampons.fr/wp-content/plugins/webp-converter-for-media/assets/build/js/scripts.js?ver=3.2.2:1:716)”,”config”:{“url”:”https://univers-crampons.fr/wp-json/webp-converter/v1/paths?_wpnonce=2d89eec74c”,”method”:”post”,”data”:{},”headers”:{“Accept”:”application/json, text/plain, */*”},”transformRequest”:[null],”transformResponse”:[null],”timeout”:0,”xsrfCookieName”:”XSRF-TOKEN”,”xsrfHeaderName”:”X-XSRF-TOKEN”,”maxContentLength”:-1,”maxBodyLength”:-1,”transitional”:{“silentJSONParsing”:true,”forcedJSONParsing”:true,”clarifyTimeoutError”:false}}}
{“data”:”<!DOCTYPE HTML PUBLIC \”-//IETF//DTD HTML 2.0//EN\”>\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator at \n [email protected] to inform them of the time this error occurred,\n and the actions you performed just before this error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n</body></html>\n”,”status”:500,”statusText”:””,”headers”:{“content-length”:”543″,”content-type”:”text/html; charset=iso-8859-1″,”date”:”Wed, 29 Sep 2021 15:56:29 GMT”,”server”:”Apache”},”config”:{“url”:”https://univers-crampons.fr/wp-json/webp-converter/v1/paths?_wpnonce=2d89eec74c”,”method”:”post”,”data”:{},”headers”:{“Accept”:”application/json, text/plain, */*”},”transformRequest”:[null],”transformResponse”:[null],”timeout”:0,”xsrfCookieName”:”XSRF-TOKEN”,”xsrfHeaderName”:”X-XSRF-TOKEN”,”maxContentLength”:-1,”maxBodyLength”:-1,”transitional”:{“silentJSONParsing”:true,”forcedJSONParsing”:true,”clarifyTimeoutError”:false}},”request”:{}}
Thank you
CéliaThe page I need help with: [log in to see the link]
The topic ‘Error REST API’ is closed to new replies.