Hi, there,
Iām testing the JSON API V8 (SuiteCrm Version 7.11.3) with POSTMAN, this because Iāll have to synchronize the company ERP with the CRM.
Specifically Iām testing the creation of Accounts and Contacts.
In creating accounts I have encountered the following problems:
- I can only use the attribute ānameā for what concerns the object āattributesā, if I add any attributes the creation is not successful (fig1.png)
- the attribute ānameā accepts only continuous text without spaces
If I update the Accounts I can set some attributes but not all⦠for example āshipping_address_streetā, āwebsiteā and āemail1ā donāt work and they always generate the same error as fig1.png.
As for creating or updating records, for the Contacts module, I get the same error (status 400, detail: The option āattributesā with value array is invalid ) if I add some attributes like āphone_homeā or āemailā (fig2.png).
Any suggestions?
Thanks!!!
The new version which just came out was centered around solving v8 API bugs, you might want to check that out.
Other than that, I am not really familiar with the API so I canāt help much. I hope someone else will come here and help youā¦
Thanks pgr,
I will wait for the release of the new version 
Hi pgr,
I was all happy with the news of the new release, but unfortunately the joy disappeared immediately encountering problems with the version upgrade
.
I had already upgraded to version 7.11.3 without any problems.
But when I try to load the upgrade to 7.11.4 the process stops without error notification and without any logging.
As per the manual for the upgrade I use the āUpgrade Wizardā tool Admin->Upgrade Wizard, I successfully complete the first of five upgrade steps(fig1.png) .
When I move to the second step, I load the file for the upgrade (fig2.png).
Clicco sul bottone ānextā e quƬ ottengo una schermata bianca⦠senza nessun avviso o notifica di errore(fig3.png).
At this point itās as if something in the cache had been damaged because if I leave the page and go back to āUpgradeWizardā I get the same blank page.
To eliminate this problem I have to manually delete the contents of the /cache folder 
I donāt understand why the first step of control is successful⦠I donāt know where to lookā¦
Check that you have sufficient values in your php.ini
- post_max_size
- upload_max_size
- memory_limit
- max_execution_time
Then restart your web server.
If necessary, clear āupload/upgradesā to restart fresh.
Keep an eye on upgradeWizard.log and php_errors.log.
I tried to check step by step everything you recommended but the problem persists
, I also deleted the contents of the folder upload/upgrades.
My php.ini values are:
- upload_max_filesize = 100M
- post_max_size = 100M
- max_input_time = 500
- memory_limit = 1024M
- max_execution_time = 6000
Here is the log āupgradeWizard.logā cleaned only of notifications regarding the problem:
Mon, 06 May 2019 15:13:33 +0200 [UpgradeWizard] - setting session variables...
Mon, 06 May 2019 15:13:33 +0200 [UpgradeWizard] - at preflight.php
Mon, 06 May 2019 15:13:33 +0200 [UpgradeWizard] - unzipping files in upgrade archive...
Il problema sembra non produrre righe di log nel file āsuitecrm.logā.
The following is the part of the errors found in the apache log file:
[Mon May 06 15:10:15 2019] [warn] [client 172.24.1.108] PHP Warning: ZipArchive::extractTo(): No space left on device in /var/www/sites/x-crm-dev/include/utils/php_zip_utils.php on line 75, referer: http://x-crm-dev.it/index.php
[Mon May 06 15:10:15 2019] [warn] [client 172.24.1.108] PHP Warning: file_put_contents(): Only 0 of 178 bytes written, possibly out of free disk space in /var/www/sites/x-crm-dev/include/utils/sugar_file_utils.php on line 161, referer: http://x-crm-dev.it/index.php
[Mon May 06 15:10:15 2019] [warn] [client 172.24.1.108] PHP Warning: file_put_contents(): Only 0 of 178 bytes written, possibly out of free disk space in /var/www/sites/x-crm-dev/include/utils/sugar_file_utils.php on line 161, referer: http://x-crm-dev.it/index.php
[Mon May 06 15:10:20 2019] [warn] [client 172.24.1.108] PHP Warning: file_put_contents(): Only 0 of 220 bytes written, possibly out of free disk space in /var/www/sites/x-crm-dev/include/utils/sugar_file_utils.php on line 161, referer: http://x-crm-dev
It seems to be a problem related to the function of unzipā¦
Hello Pgr,
I solved⦠reading the logs of apache was a problem of spaceā¦
Now I can test the new V8 API! :woohoo:
Thank you!