You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Field Metadata Request Returns 405

I'm trying to obtain field metadata from an AMS configuration iframe, but when making the request it sends back a payload indicating an http 405 response.

Example product request-

window.parent.postMessage({amsAction: 'product', destinationUrl: metadata.fieldMetadataEndpoint.url, method: metadata.fieldMetadataEndpoint.method}, "*")

Example response (simplified)-

payload: '<!doctype html><html lang="en"><head><title>HTTP Status 405 – Method Not Allowed</title></head><body><h1>HTTP Status 405 – Method Not Allowed</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Request method &#39;POST&#39; not supported</p><p><b>Description</b> The method received in the request-line is known by the origin server but not supported by the target resource.</p><hr class="line" /><h3>Responsys Interact</h3></body></html>'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!