<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/explore/help-forums/enterprise-professional/f/enterprise-professional-questions/4806/invalid-parameter-custom-endpoint</link><description>I am new to sugarCRM I had created a custom module(source IP) called order and its working fine. And I had created a custom API for the order module and I exposed that endpoint to different application in different server. The API was tested using Postman</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23872?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 14:45:07 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:58aba601-944d-4baa-8861-2ea323863be1</guid><dc:creator>Rajnikanth BS</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/vamshi"&gt;Vamshi S&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Below is my XML headers and JSON request for custom module (order) and Stock module(accounts)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Request Body update order :&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
  &amp;quot;o_id&amp;quot;: &amp;quot;54&amp;quot;,
  &amp;quot;custAccount&amp;quot;: &amp;quot;C60&amp;quot;
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;XML Headers update order&lt;/strong&gt; :&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="xml"&gt;&amp;lt;propertyMap&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Request-Line&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;PUT /sugarcrm/rest/v10/Ord_Orders/UpdateOrderMethod HTTP/1.1&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Cookie&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;PHPSESSID=aec8062hn4rq7b7797ov5aqp2s; path=/&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Authorization&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;Bearer 9babc467-f6ab-41ad-80ca-8c7ef5d28c59&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Accept&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;application/json&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Host&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;ip address comes here&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Content-Type&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;application/json; charset=ISO-8859-1&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;/propertyMap&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Request Body for accounts :&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
  &amp;quot;name&amp;quot;: &amp;quot;Customer Account07&amp;quot;,
  &amp;quot;account_type&amp;quot;: &amp;quot;Customer Account&amp;quot;,
  &amp;quot;phone_office&amp;quot;: &amp;quot;12345678&amp;quot;,
  &amp;quot;email&amp;quot;: &amp;quot;abc@xyz.com&amp;quot;,
  &amp;quot;salutation_c&amp;quot;: &amp;quot;Ms.&amp;quot;,
  &amp;quot;username_c&amp;quot;: &amp;quot;Abc&amp;quot;,
  &amp;quot;lastname_c&amp;quot;: &amp;quot;Xyz&amp;quot;,
  &amp;quot;active_cart_id_c&amp;quot;: &amp;quot;123456&amp;quot;,
  &amp;quot;bel_customer_id_c&amp;quot;: &amp;quot;543678&amp;quot;
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;XML headers for accounts :&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="xml"&gt;&amp;lt;propertyMap&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Request-Line&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;POST /sugarcrm/rest/v10/Accounts HTTP/1.1&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Cookie&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;PHPSESSID=bmc7frtmkq70c957gkm1v2v4sl; path=/&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Authorization&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;Bearer e215b865-2d52-4cc3-ab22-2c620f33b55e&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Accept&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;application/json&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Host&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;ip address here&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Content-Type&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;application/json; charset=ISO-8859-1&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;/propertyMap&amp;gt;&lt;/pre&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23859?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 04:18:05 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:18fa5d28-6e19-4206-939c-900d52b70fc9</guid><dc:creator>Vamshi S</dc:creator><description>&lt;p&gt;In such case,&lt;br /&gt;&lt;br /&gt;Since the Custom API is working fine in Postman it should work fine in your application also. It is clear that there is no issue with the Custom API you have written in Sugar.&lt;br /&gt;&lt;br /&gt;The error code 422 will only thrown when you miss some parameters in API or there may some syntax error in the request body.&lt;br /&gt;&lt;br /&gt;It would be more helpful to understand the issue if you share the XML of you request with request body. Also share the XML&amp;nbsp;&lt;span&gt;with request body&lt;/span&gt; you have given for POST /Accounts (Stock API). It would more easier to debug by comparing the stock and custom APIs.&lt;br /&gt;&lt;br /&gt;Thank You,&amp;nbsp;&lt;br /&gt;Vamshi S.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23818?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 14:34:03 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:e81a8253-f2cc-462a-b0ee-5128666c1453</guid><dc:creator>Rajnikanth BS</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/vamshi"&gt;Vamshi S&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;I tried stock API&amp;#39;s&amp;nbsp;from the external application which are working fine without any issues. For me this problem is only for custom API&amp;#39;s.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23817?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 14:29:14 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:d225f3d0-05e0-4d82-85da-b678e0824ea6</guid><dc:creator>Vamshi S</dc:creator><description>&lt;p&gt;Hi Rajinikanth,&lt;br /&gt;&lt;br /&gt;From the whole thread It seems that you will feed all the API parameters like URL, headers, cookies etc&amp;nbsp; in XML format to your external application and the application will parse the XML and call the API Endpoint.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;If so,&lt;br /&gt;&lt;br /&gt;The issue may because of your external application is failing to call POST API requests. Can you once try calling the Sugar&amp;#39;s stock API for creating an Accounts &amp;quot;POST /Accounts&amp;quot; with some request body.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;You can use the below link as reference&amp;nbsp;&lt;br /&gt;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_11.0/Integration/Web_Services/REST_API/Endpoints/module_POST/" rel="noopener noreferrer" target="_blank"&gt;https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_11.0/Integration/Web_Services/REST_API/Endpoints/module_POST/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;By this you may get some clue about the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23680?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 12:25:07 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:b31a45a2-0afb-4e19-a0d1-3f9e66c50105</guid><dc:creator>Rajnikanth BS</dc:creator><description>&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;a href="/members/francescas"&gt;Francesca Shiekh&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;We had debugged one more thing ie., the headers are hitting sugarCRM has XML but the request parameters are passing as JSON for same API.&lt;br /&gt;&lt;br /&gt;There is no logs inside php, mysql, apache and sugarCRM.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23679?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 11:57:16 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:15a4389a-33a8-416e-88c0-b0721dab246d</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;Sorry, it&amp;#39;s really hard to immagine what might be going on, since you say it works through Postman.&lt;/p&gt;
&lt;p&gt;I would start by looking at all the logs: php, sugar, console to see if you can see anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23671?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 06:40:57 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:e464bece-62d4-4b92-b9d9-cace73c2ad23</guid><dc:creator>Rajnikanth BS</dc:creator><description>&lt;p&gt;&lt;a href="/members/francescas"&gt;Francesca Shiekh&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;We had changed the v10 to v11 in the API : http://{​​​​​​​​{​​​​​​​​URL}​​​​​​​​}​​​​​​​​/sugarcrm/rest/v11/Ord_Orders/UpdateOrderMethod&amp;nbsp;but still we are getting the same error.&lt;br /&gt;&lt;br /&gt;Is there any way that we can debug here before it hit the entrypoint . Either&amp;nbsp; the request and headers are proper.&lt;br /&gt;http://{​​​​​​​​{​​​​​​​​URL}​​​​​​​​}​​​​​​​​/sugarcrm/rest/v10/Ord_Orders/UpdateOrderMethod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23620?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 22:44:44 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:b1c2fdd2-4831-4f11-85f2-6b7d9283dd17</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;So, I may be totally off base, but I looked at some API documentation, if I read it right Bearer Token support was added in v11&lt;/p&gt;
&lt;p&gt;&lt;a href="/dev-club/b/dev-blog/posts/the-sugar-rest-api-adds-support-for-oauth-2-0-bearer-tokens-in-fall-18"&gt;https://sugarclub.sugarcrm.com/dev-club/b/dev-blog/posts/the-sugar-rest-api-adds-support-for-oauth-2-0-bearer-tokens-in-fall-18&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;which would mean that, assuming you are not many years behind on your version, if you just change your http from&lt;/p&gt;
&lt;p&gt;&lt;span&gt;http://{​​​​​​​​{​​​​​​​​URL}​​​​​​​​}​​​​​​​​/sugarcrm/rest/v10/Ord_Orders/UpdateOrderMethod&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;to&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;http://{​​​​​​​​{​​​​​​​​URL}​​​​​​​​}​​​​​​​​/sugarcrm/rest/v11/Ord_Orders/UpdateOrderMethod&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It might work?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I admit I don&amp;#39;t have a full understanding of the API Authentication processes... so again, I&amp;#39;ll defer to someone else.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://sugarclub.sugarcrm.com/dev-club/b/dev-blog/posts/api-authentication-primer"&gt;sugarclub.sugarcrm.com/.../api-authentication-primer&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23619?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 22:27:48 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:a9bcc2b1-0a00-4c9c-89a0-6d7da92428fa</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;Sorry &lt;a href="/members/rajnikanth.bs"&gt;Rajnikanth BS&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see what the problem is other that v10 being superseded by rest v11 in more recent versions, but I don&amp;#39;t see why that would break it. Maybe Andr&amp;eacute; will have more insight for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23599?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 06:14:32 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:1b0ecdf0-2416-4d13-9bb3-9bf1529108d4</guid><dc:creator>Rajnikanth BS</dc:creator><description>&lt;p&gt;Hi Francesca Shiekh,&lt;/p&gt;
&lt;p&gt;Thank you for the reply.&lt;br /&gt;&lt;br /&gt;Curl isn&amp;#39;t used to call API. Javascript is used to call API in the other server. Below is the procedure used to call the API&amp;nbsp;&lt;br /&gt;All the sugarCRM inbuilt stock API&amp;#39;s are working properly. with the other server. Only custom module&amp;#39;s API is not working.&lt;br /&gt;&lt;br /&gt;Once the access token is generated from below url :&amp;nbsp;&amp;nbsp;&lt;br /&gt;http://{​​​​​​​​{​​​​​​​​URL}​​​​​​​​}​​​​​​​​/sugarcrm/rest/v10/oauth2/token&amp;nbsp; &amp;nbsp;(token is generated from this url)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;will be passed in the headers as Bearer token to update orderAPI&lt;br /&gt;http://{​​​​​​​​{​​​​​​​​URL}​​​​​​​​}​​​​​​​​/sugarcrm/rest/v10/Ord_Orders/UpdateOrderMethod&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="xml"&gt;&amp;lt;propertyMap&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Request-Line&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;PUT /sugarcrm/rest/v10/Ord_Orders/UpdateOrderMethod HTTP/1.1&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Cookie&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;PHPSESSID=6b1c70d0-6571-4969-b613-6697b2a2311a; download_token_custom=d6794d5a-e532-44f8-b655-15efcb2b893e&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Cookie&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;PHPSESSID=lncpj8nrnjqdutfuh205vao8rr; path=/&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Authorization&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;Bearer 6b1c70d0-6571-4969-b613-6697b2a2311a&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Accept&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;*/*&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Host&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;{{Value is been added has IP}}&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;Content-Type&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;application/json; charset=ISO-8859-1&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;/propertyMap&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23597?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 05:35:56 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:95cd2547-b2dd-468d-ba27-dd4d6e65f5cd</guid><dc:creator>Rajnikanth BS</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Andr&amp;eacute; Lopes,&lt;br /&gt;&lt;br /&gt;Thank you for your reply.&lt;br /&gt;Below is my url and registerApiRest method&lt;br /&gt;&lt;br /&gt;URL :&amp;nbsp;&amp;nbsp;&lt;span&gt;http://&lt;/span&gt;&lt;span class="resolvedVariable"&gt;&lt;span&gt;{{URL}}&lt;/span&gt;&lt;/span&gt;&lt;span&gt;/sugarcrm/rest/v10/Ord_Orders/UpdateOrderMethod&lt;br /&gt;&lt;br /&gt;Method : &lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="php"&gt;public function registerApiRest()
    {
        return array(
            &amp;#39;MyGetEndpoint&amp;#39; =&amp;gt; array(
                //request type
                &amp;#39;reqType&amp;#39; =&amp;gt; &amp;#39;PUT&amp;#39;,

                //set authentication
                &amp;#39;noLoginRequired&amp;#39; =&amp;gt; false,

                //endpoint path
                &amp;#39;path&amp;#39; =&amp;gt; array(&amp;#39;Ord_Orders&amp;#39;,&amp;#39;UpdateOrderMethod&amp;#39;),

                //endpoint variables
                &amp;#39;pathVars&amp;#39; =&amp;gt; array(&amp;#39;&amp;#39;, &amp;#39;&amp;#39;),

                //method to call
                &amp;#39;method&amp;#39; =&amp;gt; &amp;#39;UpdateOrderMethod&amp;#39;,

                //short help string to be displayed in the help documentation
                &amp;#39;shortHelp&amp;#39; =&amp;gt; &amp;#39;updating an order in SugarCRM&amp;#39;,

                //long help to be displayed in the help documentation
                &amp;#39;longHelp&amp;#39; =&amp;gt; &amp;#39;./custom/modules/Ord_Orders/clients/base/api/help/CreateOrder.html&amp;#39;,
            ),
        );
    }&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23580?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 00:04:15 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:b4094df6-89de-459e-97c2-5e5a946f582e</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;If your call works in Postman but not from your other server I would check whether you are passing authentication correctly.&lt;/p&gt;
&lt;p&gt;Are you using curl and passing your OAuth token as a parameter instead of adding it to the header?&lt;/p&gt;
&lt;p class="p1"&gt;&lt;pre class="ui-code" data-mode="php"&gt;curl_setopt($curl_request, CURLOPT_HTTPHEADER, array(&amp;quot;Content-Type: application/json&amp;quot;, &amp;quot;oauth-token: {$oauthtoken}&amp;quot;))&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invalid Parameter : Custom Endpoint</title><link>https://sugarclub.sugarcrm.com/thread/23567?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 15:02:42 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:d6db2a58-ca4e-48d1-b9a7-be053ac6b43d</guid><dc:creator>Andr&amp;#233; Lopes</dc:creator><description>&lt;p&gt;Can you share the content of method&amp;nbsp;registerApiRest for that custom api? Also you can share the url external api is calling?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>