Important Update: Some Community URL Redirects are Under Maintenance. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

REST API - Update content error -Log location needed

Sanjay_a
Contributor II

Hi, We are using platform REST API /content  to update records.  But some of the updates are failing without any error message.  Is there any way we can get the logs of the content API so that we can find out root cause behind update failure? 

@JeffLetterman 

1 REPLY 1

JeffLetterman
Archer Employee
Archer Employee

There are a few disadvantages with using Content API to create/update records.

  • When record is created successfully, the content id is not returned.
  • Validation messages are not returned for failures.  For example, if a required field is not provided, no details are provided.  Another example, if a field has the Unique option enabled and same value is used again, no details are provided.
  • The Archer logs will not contain reasons for failure.  Side note, if you are a SaaS/Hosted customer, the Archer logs can't be provided to you.

Please check out and vote up this Archer Idea: https://www.archerirm.community/t5/archer-ideas/enhance-the-content-api-responses-to-return-valid-json-better/idi-p/576317

The REST API and Web Services API will return validation messages with details why it failed to create/update.