search cancel

Error "API-1019..." when trying to open a project in the Modern UX


Article ID: 135699


Updated On:


Clarity PPM On Premise Clarity PPM SaaS


Every time you try to open a project in the New User Experience (UX) in our Clarity environment you get the following error:

API-1019: Could not process the request due to internal error.




Here are the possible causes:

1.The API-1019 error code at first, can mean you are attempting to use a Studio attribute in the New User Experience that does not have a valid REST API alias name.

2. On non-Windows environments, the following packages may not be installed:


3. In a related symptom, the Status Reports cannot be previewed nor printed. Status reports do not use fonts, but the third party pd4ml library.

Going to Modern UX > Project > Status > Preview, the following error appears:
API-1019 : Could not process the error due to internal error

In reviewing the APP log:

ERROR 2021-09-21 18:35:40,396 [https-jsse-nio2-8443-exec-268] (clarity:user:session:PPM_REST_API) Exception processing request for resource [statusReportPublisher], query string [/private/statusReportPublisher]
java.lang.InternalError: java.lang.reflect.InvocationTargetException
at java.desktop/sun.font.FontManagerFactory$
at java.base/ Method)
at java.desktop/sun.font.FontManagerFactory.getInstance(
at java.desktop/sun.font.SunFontManager.getInstance(
at java.desktop/sun.font.FontDesignMetrics.getMetrics(
at java.desktop/sun.font.FontDesignMetrics.getMetrics(
at java.desktop/sun.awt.SunToolkit.getFontMetrics(
at java.desktop/sun.awt.HeadlessToolkit.getFontMetrics(
at org.zefer.font.c.super(Unknown Source)
at org.zefer.font.c.<init>(Unknown Source)
at org.zefer.cache.ResourceCache.getFontMetrics(Unknown Source)
at org.zefer.html.doc.q.Object(Unknown Source)
at org.zefer.html.doc.q.Ö00000(Unknown Source)
at org.zefer.html.doc.w.<init>(Unknown Source)
at org.zefer.html.doc.PD4MLHtmlParser.buildDocument(Unknown Source)
at org.zefer.pd4ml.PD4ML.o00000(Unknown Source)
at org.zefer.pd4ml.PD4ML.render(Unknown Source)
at com.niku.union.utility.PDFGenerator.create(

Install the required fonts.

Additional Information

Tip: The API-1019 error code can also mean you are attempting to use a Studio attribute in the New User Experience that does not have a valid REST API alias name.

  1. Make sure attribute has a valid API Attribute ID in Classic UX (Administration --> Studio --> Object --> Attributes ) This is the attribute id used in the REST API.
  2. Set this to make the attribute available via the REST API. 

See also: API errors - known causes for Clarity