function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tarun Kumar MohantyTarun Kumar Mohanty 

Error: Field XXXXXX__c does not exist. Check spelling.

Hi I am trying to deploy on sandBox but got this error
Error: Field TotalMail_Inbound_Count_Lightning__c does not exist. Check spelling.

please help me figure out this issue.
thank you
SwethaSwetha (Salesforce Developers) 
HI Tarun,
Have you checked if the field TotalMail_Inbound_Count_Lightning__c is part of your dedployment package?
Tarun Kumar MohantyTarun Kumar Mohanty
yes it is part of my package
 
mukesh guptamukesh gupta
Hi Tarun,

First you need to check in deployment package ,  is this TotalMail_Inbound_Count_Lightning__c  is available or not. i hope this field is not attached in your deployment package, That's why you are facing this error

Please add this  fied in your deployment package and deploy again

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh
Tarun Kumar MohantyTarun Kumar Mohanty
hi Mukesh,
 TotalMail_Inbound_Count_Lightning__c  is available
 
SwethaSwetha (Salesforce Developers) 
What is the datatype of TotalMail_Inbound_Count_Lightning__c?
mukesh guptamukesh gupta
Hi TArun,

First you make sure :-
1. Is that field is available on your org
2. where this field is using like Apex class, trigger
3. Is that any relation ship on this field means is this field having lookup or any other relation?
4. is this formula field?


if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh