Hi,
I seem to get a 404 on my user defined API, the API seems to be correct and no validation error on the script. Any settings I should be look at?
Hi Vig,
Most often, when you run into a 404 with User-Defined APIs, it is the route where the API request is sent to that does not match the configured route. Be sure to double check if this matches the route defined on the API definition made in Cube.
For example, if you have entered 'devices/info' in the 'URL' field when creating the definition, you should trigger the API by sending the request to 'https://<server hostname>/api/custom/devices/info'. Make sure to check if the mandatory '/api/custom' part is in there.
Feel free to update your original question with a screenshot of the API definition and/or share the URL you are using to trigger the API.
Hi Vig,
Could you have a look at the Troubleshooting page and let us if you find any issue in the logs?
https://docs.dataminer.services/dataminer/Functions/User-Defined_APIs/Troubleshooting/UD_APIs_Troubleshooting.html