• External Resource Client - CURL Conversion Issues

    Hi all. I have a working CURL request that calls an API for us and this works great. I have since been trying to convert it into ExternalResourceClient but am having problems with the main error being: Request failed: file get contents([IPADDRESS…
  • Help with ExternalResourceClient for use CURLOPT_POSTFIELDS & CURLOPT_USERPWD together.

    Hello Folks I am trying to use ExternalResourceClient Instead of PHP Curl. But not able to get the results. I have gone through the below link and other questions on Sugarclub. (+) Introducing ExternalResourceClient your friendly Transport Client…
  • Usage of External Resource Client with Microsoft GraphApi not working

    Hello all, I was trying to convert a plugin that uses the graphapi through curl call to be compatible with cloud v13. Therefor I converted all curl call with recommended ExternalApiCalls but post calls are not working. I converted the following…
  • ExternalResourceClient CURLINFO_HEADER_SIZE

    Hi, I have the following line of code I have to replace with the ExternalResourceClient, but it is not really clear how to get the header size from the ExternalResourceClient... $resp_header_size = curl_getinfo ( $ch, CURLINFO_HEADER_SIZE ); …
  • Help with ExternalResourceClient with multipart/form-data?

    I need some help with ExternalResourceClient with multipart/form-data? I tried following the examples at https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_12.0/Integration/ExternalResourceClient/ but they don't handle multiipart…
  • ExternalResourceClient replacement for CURLOPT_SSLCERT and CURLOPT_SSLKEY

    Hello, I have an integration that is currently using cUrl to get data from a third party service. I am trying to re-write this interface using ExternalResourceClient but I dont seem to be able to find a way to translate the following options in ExternalResourceClient…
  • Error "session_start(): Ignoring session_start() because a session is already active"

    Hello, we got a weird issue on our DEV environnment ; the error message we got is " session_start(): Ignoring session_start() because a session is already active ". Our dev is running under PHP 8.0. This message is happening when a custom job tries…
  • How to manipulate directories and files on the new SugarCRM version.

    Hello everyone! Previously on my codes, I working with the local files and local directories using some like this: $function['mkdir'] = mkdir; $function['fopen'] = fopen; $function['unlink'] = unlink; ... $function['mkdir'](<new_directory_path>…
  • ExternalResourceClient Returning no response

    Hello All, I am using ExternalResourceClient with GET method with Bearer token to replace curl coding. URL and AuthKey are working on Postman. Also, POST Method on ExternalResourceClient is working well. But GET method on ExternalResourceClient…