Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!

Cannot edit custom code, getting various errors


Level 1

My developers are having troubles trying to edit code on Target experiences. We have editor permissions on the account and have been able to do so in the past, but now we are running into a few issues.

First, in the visual editor we notice we are getting the following error:

Sorry, we are experiencing an internal server error.
Try reviewing VEC best practices

We don't make changes through the visual editor, so that's fine but not sure if it's related to the issue.

Secondly, if we press next, we get the following error:

ERROR   These changes cannot be saved. The selected website does not contain Target libraries.

I can verify there is a Target mbox on the URL being targeted and that there are no other tests running on this particular page (however there are tests running on other pages of this site using the same mbox; we have not had issues with this in the past).

Please advise.

2 Replies


Level 10

Hi Nick,

Can you please share your Target Account credentials in a private message so that we can debug the issue at our end ?

Thanks & Regards

Parit Mittal


Level 1

@Nick Looks like the problem is not related to custom code but about loading page inside VEC

1. Have you toggle Enhanced Experinece Composer flag for your account?

2. Also can you share the url of the activity you are trying to edit?