”Target not allowed for this project”
You’re on the Free or Pro plan. On these plans your project sends through a shared pool of lines, and a shared line will only message recipients you’ve registered as users of your project. Any other target is rejected withTarget not allowed for this project.
This limit applies to shared-pool plans only. The Business plan uses a dedicated line and isn’t subject to the allowlist — see Line model.
1. You haven’t added yourself as a user
The target you’re messaging has to exist as a user on the project first. Add the number your iMessage is linked to:Open the dashboard
Go to the Dashboard and select your project.
2. The number you added isn’t the one iMessage actually uses
If you’ve added yourself and still get the error, the handle you entered probably doesn’t match the one Apple actually sends iMessage from. This happens — Apple sometimes registers iMessage under a number or email you wouldn’t expect, so the user you added never matches the inbound sender. To find the handle iMessage is really using:Message the debug line
Open debug.photon.codes. It opens an iMessage to our debug bot.
Read the handle it reports
The debug bot replies with the exact handle (phone number or email) Apple is sending from for your device.
Add that handle
Add that handle under Users in the Dashboard, then retry.
If the debug bot reports an email instead of a phone number, your iPhone is starting iMessage conversations from your Apple Account email rather than your number. To switch it, open Settings → Messages → Send & Receive on your iPhone and pick your phone number under Start new conversations from. Apple’s guide: If your iPhone sends text messages from your email address.
- If you can’t turn on or sign in to iMessage or FaceTime on your iPhone — phone-number verification and activation.
- If you can’t send or receive messages on your iPhone or iPad — general send/receive failures.
- Messages support — Apple’s full Messages support hub.
Still stuck?
Send us:- Your project id (from
photon projects show). - The exact error string you’re seeing.
- The target handle you’re trying to message and the handle the debug line reports.