@ronny213, could you please try replacing the Get Addresss and Get Names scripts of Bear with the following to see if it solves the problem?
Get Address Script
tell application "System Events" to tell process "Bear"
click menu item "Copy Link to Note" of menu 1 of menu bar item "Note" of menu bar 1
delay 0.05
repeat 50 times -- poll clipboard for ~2.5 seconds
try
if (the clipboard) is not equal to "" then
exit repeat
end if
end try
delay 0.05
end repeat
end tell
get the clipboard
Get Name
tell application "System Events" to tell process "Bear"
click menu item "Copy Note's Identifier" of menu 1 of menu bar item "Note" of menu bar 1
delay 0.05
repeat 50 times -- poll clipboard for ~2.5 seconds
try
if (the clipboard) is not equal to "" then
exit repeat
end if
end try
delay 0.05
end repeat
end tell
open location "bear://x-callback-url/open-note?id=" & (the clipboard) & "&x-success=hook://title-callback/title///"
thanks