Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Cannot edit custom code, getting various errors

nick_so
Level 1
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
ParitMittal
Level 10
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

Harry_S
Level 1
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?