500 error when downloading an attachment using REST APIIssue Getting a 500 error when trying to download an attachment from a custom table using REST API while using a particular user account. The error information is below: {"error":{"message":"java.lang.NullPointerException","detail":"java.lang.NullPointerException Check logs for error trace or enable glide.rest.debug property to verify REST request processing"},"status":"failure"} When impersonating the user in question and running the Attachment API test from REST API Explorer, the return result is a successful 200 response. CauseBased on the responses we were getting from an admin account and not the affected account his was determined to be an ACL issue. The user needs to set the ACLs for the affected account in a way that will allow the affected user to see the attachment metadata for an attachment in this table. Once that is done, the attachment request for this user will be successful (200 status) from the REST API as well. ResolutionCreate an ACL that gives users access to view the records and all record fields. Add the affected User to the new ACL. This will allow the user to download attachments using REST API successfully.