Describe the bug
I just started getting 'transport.js:32 POST http://localhost:3333/api/apex/execute 500 (Internal Server Error)' while fetching data from apex method.
Error returned from server:
originalTarget:
body:
message: "apex://OpportunityController: No apex action available for OpportunityController.getOptyDetails"
proto: Object
ok: false
status: 400
statusText: "Bad Request"
!!! Note that I am not getting this error developing/running in the Sandbox !!!
To Reproduce
Steps to reproduce the behavior:
Make a request to fetch data from ApexController.ApexMethod through @wire service. EX Payload:
import getOptyDetails from '@salesforce/apex/OpportunityController.getOptyDetails'; recordId = 'some_id'; @wire(getOptyDetails, { optyId: '$recordId' }) wiredOpportunityRecord({ error, data }) {
Dev Console View:
{"namespace":"","classname":"OpportunityController","method":"getOptyDetails","params":{"Id":"some_id"},"cacheable":true}
Expected behavior
This has been working just fine up until now. Receive data through @wire service.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug I just started getting 'transport.js:32 POST http://localhost:3333/api/apex/execute 500 (Internal Server Error)' while fetching data from apex method.
Error returned from server: originalTarget: body: message: "apex://OpportunityController: No apex action available for OpportunityController.getOptyDetails" proto: Object ok: false status: 400 statusText: "Bad Request"
!!! Note that I am not getting this error developing/running in the Sandbox !!!
To Reproduce Steps to reproduce the behavior: Make a request to fetch data from ApexController.ApexMethod through @wire service. EX Payload:
import getOptyDetails from '@salesforce/apex/OpportunityController.getOptyDetails'; recordId = 'some_id'; @wire(getOptyDetails, { optyId: '$recordId' }) wiredOpportunityRecord({ error, data }) {
Dev Console View: {"namespace":"","classname":"OpportunityController","method":"getOptyDetails","params":{"Id":"some_id"},"cacheable":true}
Expected behavior This has been working just fine up until now. Receive data through @wire service.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):