Skip to content

Error when sharing ACE opportunity Salesforce with AWS

0

After some successful syncs between AWS ACE and Salesforce, we have this error.

Value at 'opportunityTeam.email' failed to satisfy constraint: Member must not be null (REQUIRED_FIELD_MISSING)

This error now occurs consistently during the sync process.

Could you please advise where we should investigate first? For example: • Is this related to missing or invalid Opportunity Team Member data in Salesforce? • Are there specific fields or mappings in AWS ACE that should be checked? • Are there known prerequisites or constraints for the opportunityTeam.email field?

Any guidance on troubleshooting steps or logs to review would be appreciated.

Thank you for your support.

asked a year ago165 views

1 Answer
0

Based on the error message you're seeing, the issue is related to validation rules during the synchronization process between your Salesforce CRM and AWS Partner Central.

The specific error "Value at 'opportunityTeam.email' failed to satisfy constraint: Member must not be null (REQUIRED_FIELD_MISSING)" indicates that the email field for opportunity team members is required but is missing or null in your data.

Here are the steps you should take to investigate and resolve this issue:

  1. Check your ACE Sync Logs in Salesforce:
  • Go to the ACE Sync Logs tab in your Salesforce
  • Look for "To AWS" records with errors
  • Click into those logs and review the log details links
  • View all details and scroll to the bottom to find the complete validation error messages
  1. Verify your opportunity team member data:
  • Ensure all opportunity team members have valid email addresses
  • This appears to be a required field for the AWS sync
  1. Review your field mappings:
  • Navigate to the ACE Mappings page in your CRM connector
  • Check that the opportunity team email field is properly mapped
  • Ensure the data types match between Salesforce and AWS fields
  1. For immediate workaround:
  • You can try to edit the payload directly in the sync logs:
  • Navigate to the sync log details of the failed record
  • Choose "Edit Payload" to access the JSON view
  • Update the values of the non-compliant fields (add the missing email)
  • Save the payload to set up the record for sync in the next job

This error is occurring because AWS has validation rules that require certain fields to be populated before accepting the opportunity data. In this case, the email address for opportunity team members is a mandatory field that cannot be null.
Sources
Partner Opportunities created in our CRM are not getting saved in Partner Central | AWS re:Post
Mapping ACE objects - AWS Partner Central
AWS Partner CRM connector FAQ - AWS Partner Central

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.