Simple applescript stopped working

I’ve had a Smart Rule that has been working for many years. Intent is to log items imported into DT Inbox to a note in the Drafts app. When an item is imported, the Smart Rule fires and runs an embedded AppleScript.

But it’s stopped working - now causes an error in Drafts that a draft with this UUID was not found. But I don’t think it’s a Drafts error, because if I run the three lines beginning with “set the UUID” in Script Debugger, it works as expected, appending “test” to the correct draft.

I’ve stripped out most of the working parts of the Smart Rule to just the skeleton below. Any idea about what could be different/wrong/new? thx!

on performSmartRule(theRecords)
	tell application id "DNtp"
		delay 1
		repeat with theRecord in theRecords
			set theName to name of theRecord
			set theLink to reference URL of theRecord
			set theUUID to "6BFEFE4A-AA0D-4080-B6E0-29A246929E78"
			set theURL to "drafts://x-callback-url/append?uuid=" & theUUID & "&text=test"
			open location theURL
		end repeat
	end tell
end performSmartRule

ugh. so sorry. URL encoding issue. fixed!

Is this a legitimate UUID ?