You need to sign in to do that
Don't have an account?
Arshad Rasheed 11
Data Integration Superbadge
Hello All,
Any idea about below error message? I am trying to implement service for Inbound Project Data (ProjectRESTService)
10:14:46.0 (2966919)|EXCEPTION_THROWN|[EXTERNAL]|System.JSONException: Value does not match expected type at [line:1, column:179]
Thanks,
Any idea about below error message? I am trying to implement service for Inbound Project Data (ProjectRESTService)
10:14:46.0 (2966919)|EXCEPTION_THROWN|[EXTERNAL]|System.JSONException: Value does not match expected type at [line:1, column:179]
Thanks,
Below is the code which works fine for me. Hope this helps.
Kindly mark this as solved if my reply was helpful.
Regards,
Nagendra
Thanks for the response. I tried your code but iam still getting the same error. I dont think this error is related to the code as i have tried executing empty method as shown below.
I have recheked all the configurations in custom setting, remote site setting and connected app. everything looks ok but the error is still there. any suggestions ?
@RestResource(urlMapping='/project/*')
global with sharing class ProjectRESTService {
@HttpPost
global static String postProjectData(String ProjectRef, String ProjectName, String OpportunityId, Date StartDate, Date EndDate, Double Amount, String Status) {
return null;
}
}
thanks,