I have a Node app running on heroku where I am using the nforce lib. I received { Error: Could not find a match for URL error.} while using org.getUrl from nforce library. For the url string, I have used the same url that I was hitting through workbench(i.e something like this : "/services/apexrest/namespace/restresourcexyz"). Should I enter the entire URL here?


The relative URI is the correct argument. Two possibilities:

  1. Your REST resource does not have a GET method

  2. The URI resolution on SF side is case-sensitive. Either the name of the namespace and/or the name of the resource do not match what you have in the URI

  • Got the issue. Namespace was in lower case. Thanks for the quick response. – Karan Madhwani Aug 23 '19 at 21:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.