errorCode: 400, message: "Subscriber '...' is not valid" | Community
Skip to main content
October 28, 2014
Solved

errorCode: 400, message: "Subscriber '...' is not valid"

  • October 28, 2014
  • 2 replies
  • 4374 views
Hi There!

i'm running into problems, and hoping the community can help me. because of the structure of my page, I can't just use the embed code given to me by marketo.

The code, as i see it, can ben broken into 3 parts:

1. include forms2.js
2. insert the form (with the correct form name) into the dom
3. load the form from marketo, making sure the form id specified in the load command matches the id on the form.

1. since my environment is wordpress, i'm enqueueing the forms2.js script - it is in the header
2. i'm inserting the form - with display:hidden on it as the first element in the page (<form id="mktoForm_67"></form>
3. AFTER both of those happen (i.e., the form tag is IN the dom, and the script IS included), i call the load command:
MktoForms2.loadForm("//app-sjst.marketo.com","...", 67);

when the load command hits, i get the following error:
Error loading form: Object {error: true, errorCode: 400, message: "Subscriber '...' is not valid"}

i've commented out the marketo ID, but it DOES match the munchkin id i have on the page (in the footer, below everything else).

I tested the embed code - in a test page - and it works just fine, but, i'm not sure why i would get this message, if my logic above is correct?

Please help?!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kenny_Elkington
Hey Runn,

It looks like your root URL isn't correct, "//app-sjst.marketo.com".  You'll want to change 'sjst' to whatever is in your URL when you login to your Marketo subscription, like 'ab05' or 'sjn'.

2 replies

Kenny_Elkington
Adobe Employee
Kenny_ElkingtonAdobe EmployeeAccepted solution
Adobe Employee
October 28, 2014
Hey Runn,

It looks like your root URL isn't correct, "//app-sjst.marketo.com".  You'll want to change 'sjst' to whatever is in your URL when you login to your Marketo subscription, like 'ab05' or 'sjn'.
Aimee_Aimee
Level 1
October 22, 2019

I am having this issue as well but I've already confirmed the root url is correct. Any other reasons this could be happening? Is there a setting I need to change to grant access? 

Level 3
February 11, 2020

I am also having this issue and my URLs are correct. As far as I can tell, it only started in the last 6 months or so. 

 

The forms still work though

October 28, 2014
That totally worked, which is weird - that's was the embed code marketo gave me...

Thank you so much!!