Giter Site home page Giter Site logo

Comments (4)

adelawalla avatar adelawalla commented on July 19, 2024

@northernbeacheswebsites Could you give us a sample of the code being used?

from api-docs.

northernbeacheswebsites avatar northernbeacheswebsites commented on July 19, 2024

Hi @adelawalla the code used is not super relevant because the code has a lot of settings and what not, but it's in PHP and looks like:

$url = $apiBase.'prospect/version/'.$apiVersion.'/do/upsert/email/'.urlencode($email).'?'.$build_query; $response = wp_remote_post($url, array( 'headers' => array( 'Authorization' => 'Pardot api_key='.$apiKey.', user_key='.$userKey, ), ));

The client using the code is saying that when they create the prospect with a custom field value greater than 3000 characters, it won't create the prospect via the API. Note the custom field they have setup is a textarea field with a character limit of 65,535 characters (see: https://www.pardot.com/blog/custom-fields/). What I suspect is there's a limit on the amount of characters allowed via the API for custom fields which is much smaller then the actual field allowance in Pardot, or there's perhaps a limit on the amount of characters in the query string. It would be good if I had some clarification on these limits. Thanks,

from api-docs.

adelawalla avatar adelawalla commented on July 19, 2024

Ah yes, we think that there is a limit being imposed on the query string somewhere. If they could, try moving the value to the body of the message instead. The limit there should be much bigger, and allow for the full usage of the field.

from api-docs.

northernbeacheswebsites avatar northernbeacheswebsites commented on July 19, 2024

Thank you, I will test this out, but for now I will close this. Thanks once again,

from api-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.