400 - Service method not found (14002)

I am encountering an error when attempting to call the countSum method in my Backendless app. When sending a POST request to the following endpoint:

Endpoint:
https://api.backendless.com/451828D5-76FF-4895-936F-09BE79479671/31540B43-E3DF-4793-BD5C-AB87D78F27A6/services/COUNTSUM/SUM

I receive the following response:

json

Copiar código

{
    "code": 14002,
    "message": "Service method not found",
    "errorData": {}
}

I have checked the service and method configuration in Backendless settings, but the issue persists. Additionally, I am facing a similar problem with a GET /Instructions method in another service, JsShoppingCartService, which works perfectly. I copied the same code into my COUNTSUM service, but the issue persists with the same error (code 14002).

Could you please assist me in resolving this issue? It seems the method is not recognized, even though the service is correctly defined.

Thank you for your help!

I see the implementation of your service is empty:

Could you provide more details about how you implemented and deployed the service?

1 Like

I found your folder and implemented it, and it works perfectly. I couldn’t find a tutorial for this setup before. I had been using a different method that didn’t work, so I made changes directly in the service code folder.

Could you help me with where and how to write the code to create an HTML file, and then a JavaScript file, to build the interface and call the service? I have all the necessary methods, the HTML page, and the functions.

Sounds like you already have everything. What exactly do you need help with?

Unfortunately, this is outside of our support. Try asking ChatGPT, it should definitely able to handle that.

It’s not a coding issue. What I need to know is how to create a custom HTML page in Backendless and then add my code to it. Can you guide me on that process?

You can use UI Builder to create UI pages. Or you can create an HTML page by hand and place it into the /web directory in the file storage - the file will be available with the domain assigned to your app.

1 Like