You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Appears that the object in the docs does not exist in a production? I cant find contact (maybe I havent installed the right package....)
Anyhow a follow up is that posting an empty object does not work
curl --request PUT
--url https://{{HOST}}/ws/rest/com.axelor.apps.hr.db.Employee
--header 'Accept: application/json'
--header 'Content-Type: application/json'
--header 'Cookie: JSESSIONID='
--data '{
"data": {}
}'
but adding a non existant property will pass
curl --request PUT
--url https://{{HOST}}/ws/rest/com.axelor.apps.hr.db.Employee
--header 'Accept: application/json'
--header 'Content-Type: application/json'
--header 'Cookie: JSESSIONID='
--data '{
"data": { "_________" : "" }
}'
curl --request PUT
--url https://{{HOST}}/ws/rest/com.axelor.contact.db.Contact
--header 'Accept: application/json'
--header 'Content-Type: application/json'
--header 'Cookie: JSESSIONID={{SESSIONID}}'
--data '{
"data": {
"firstName": "John",
"lastName": "Smith2",
"email": "[email protected]"
}
}'
is causing an error of
{
"status": -1,
"data": {
"popup": true,
"title": "Internal Server Error",
"message": "com.axelor.contact.db.Contact"
}
}
How am I supposed to debug this error without more details?
The text was updated successfully, but these errors were encountered: