@OmarAlmonte Why does the description for this sdk call say “create a file”, yet the function signature calls out 2 files? I see no explanation for this implementation decision. The example, as always, is less than illuminating,
After some time, I still cannot coax useful behavior from this SDK call. ISTR this is where I left this issue a few months ago:
https://api.keap.com/crm/rest/v2/files?file=Hello%2C%20world%21%0A&file_name=sampleFile.zip&contact_id=50015&is_public=&file_association=CONTACT
still gives nothing useful in the resulting error message
[500] Server error: `POST https://api.keap.com/crm/rest/v2/files?file=Hello%2C%20world%21%0A&file_name=sampleFile.zip&contact_id=50001&is_public=&file_association=CONTACT` resulted in a `500 Internal Server Error` response:\n
{"code":500,"message":"An unexpected error occurred","status":"Internal Server Error","details":[{"domain":"file","resou (truncated...)
For now, I’ll revert to the FileUploadHelper posted earler.
Hi Jeffrey, this seems to be a bug in the PHP SDK. I’ll bring it up internally so we can take a closer look and get it addressed.
Hi @Jeffrey_Chimene, this is now fixed.