if (err instanceof UserNotAuthorizedToCertifyError) {
          const errorHttpStatusCode = 403;
          const jsonApiError = new JSONAPIError({
            status: errorHttpStatusCode.toString(),
            title: 'User not authorized to certify',