Getting 404 error when accessing SmartObject Odata endpoint
Having trouble accessing your newly created OData endpoint? This guide addresses the 404 error you might encounter when trying to reach a new SmartObject exposed as an OData endpoint after setting it up through K2 Management. Steps: Create the OData endpoint: Go to K2 Management and navigate to Integration > APIs > SmartObject Odata. Add a new SmartObject and configure it as an OData endpoint. Apply the changes. Access the endpoint: Try reaching the endpoint using the following URL format: https://[KUIDorVanityValue].onk2.com/api/odatav4/v4/cars (Replace [KUIDorVanityValue] with your actual K2 Cloud URL or vanity value). You may experience an HTTP 404 error. Resolve the 404 error: If you encounter a 404 error, it might be necessary to refresh the endpoint. Use this URL to refresh the endpoint: https://[KUIDorVanityValue].onk2.com/api/odatav4/op/refresh Once refreshed, you should be able to access your new OData endpoint using the original URL. N...