...
More information here:
https://developers.facebook.com/docs/messenger-platform/policy/policy-overview/
Error: (#230) User consent is required to access user profile
Solution:
The issue is about the user's Consent,
User consent is required to access a user's profile. It is set only when a person sends a message to a business or clicks icebreakers or the persistent menu. If a person comments on a post or comment but has not sent a message to a business, your app will receive an error.
https://developers.facebook.com/docs/messenger-platform/instagram/features/user-profile/
Instagram automation don’t work
If Instagram DM automations dont work however other automations such as comment automations work normally, it could be an issue with the user approval enabled on your profile.The approval stops UChat from creating a bot user and since no bot user is created, DM automations are not triggered.
This does not happen with Comment triggers since the approval system is bypassed as users usually don't require to be invite-accepted to comment on posts.
The solution for this is to go inside your Instagram profile settings and turn off User approvals. Once it's turned off, UChat will be able to create a bot user and the DM automations will resume to work.
To manage who can send you message requests on Instagram:
Click More in the bottom left, then click Settings.
Below How others can interact with you, click Messages and story replies.
Click Message controls.
Choose message requests to receive them at all.