Calling custom API service results in Error 14002: Service method not found

Hi Stephen,

I just tried the following and it worked:

  1. Created a Codeless service
  2. Added a method (method name test)
  3. Added logic to test
  4. Deployed service
  5. Deleted method 'test`
  6. Added new method, named it test again.

Please let me know where I did it differently than what you did?

I did the same thing except I got that error message. After about 10 minutes, my ā€˜deletedā€™ method appeared in the list again, so I deleted it again. Sounds like it was just some gremlins.

Iā€™m encountering an error while attempting to call the countSum method in my Backendless app. When I send a POST request to the following endpoint:

Endpoint:
https://api.backendless.com/451828D5-76FF-4895-936F-09BE79479671/9C4177E0-EC25-4D20-BF06-BD86C67F375F/services/SUMSERVICE/countSum

I receive the following response:

Response:

json

Copiar cĆ³digo

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

I have checked the configuration of the service and the method in the Backendless settings. Hereā€™s what Iā€™ve tried:

  • Double-checked the countSum method in the service configuration (in both the Backendless console and XML).
  • Ensured the correct headers and request body format.

Request Details:
HTTP Method: POST
Request Body:

json

Copiar cĆ³digo

{
    "num1": 5,
    "num2": 10
}

Could you please assist me with resolving this issue? It appears the method isnā€™t recognized, even though the service is defined.

Thank you for your help!

Please create a separate topic for the problem you experience.