Portal Dashboard server error

I did read in one thread that the 3d party API Access declaration has to remain in order for openemr to remain certified….

Why it does not send the link to:
https://{my domain}/openemr/portal
So patient can click it to go to portal?

I tried to change the URL in the portal to
https://{my domain}/openemr/portal/patient/patientdata
toggled the switch of Portal Uses Server Base Path (internal) on
logged on another browser to {my domain}/openemr/portal with the reset credentials ( still not able to send the link to the portal in the email)
made changes to the name of the patient
came back to my openemr to commit the changes and I got this:

OK ….it was using same browser 2 sessions.
On a different browser was able to receive the request and commit the changes to the chart…great
Only now I need help finding out why I am not getting the URL in the email to the patient of the portal link…Please help.

I will move it to a new thread …it will be simlpe question hopefully I will get an answer…thanks.