0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Apex Web Services

Last updated at Posted at 2024-06-22

まとめページに戻る
まとめA~M

Executing the method 'getAccount' from the Apex class 'AccountManager' failed. Either the service isn't configured with the correct urlMapping, is not global, does not have the proper method name or does not return the requested account and all of its contacts.

The point is on your urlMapping, 'Contacts' should start with lower case in all classes. Please check it, should work.

重要なのは、urlMapping にあり、「連絡先」はすべてのクラスで小文字で始まる必要があります。チェックしてください。動作するはずです。

Try changing the first T to lower case.

Test Account --> test Account

Account objAccount = new Account(Name = 'test Account');
Account accountTest = new Account(Name='Test Account');

https://developer.salesforce.com/forums/?id=9060G000000MPHzQAO

Error:Executing the method 'getAccount' from the Apex class 'AccountManager' failed. Either the service isn't configured with the correct urlMapping, is not global, does not have the proper method name or does not return the requested account and all of its contacts.

重要なのは、urlMapping にあり、「連絡先」はすべてのクラスで小文字で始まる必要があります。チェックしてください。動作するはずです。

The point is on your urlMapping, 'Contacts' should start with lower case in all classes. Please check it, should work.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007FUdFR

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007MZs9R

コード有

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?