Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic update for the Error messages in API-Layer PR #3654

Conversation

zowe-robot
Copy link
Contributor

Updated API ML error messages

Signed-off-by: Zowe Robot <zowe-robot@users.noreply.github.com>
@@ -659,7 +659,7 @@ The following error message codes may appear on logs or API responses. Use the f

**Action:**

Use a valid body in the request. Format of a message: `{validity: int , scopes: [string]}`.
Use a valid body in the request. Format of a message: {validity: int , scopes: [string]}.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Use a valid body in the request. Format of a message: {validity: int , scopes: [string]}.
Use a valid body in the request. Format of a message: `{validity: int , scopes: [string]}`.

The build job is failing because in Docusaurus v3 the Markdown files are parsed as MDX and braces must be escaped:

image

@@ -683,7 +683,7 @@ The following error message codes may appear on logs or API responses. Use the f

**Action:**

Use a valid body in the request. Format of a message: `{userId: string, (optional)timestamp: long}` or `{serviceId: string, (optional)timestamp: long}`.
Use a valid body in the request. Format of a message: {userId: string, (optional)timestamp: long} or {serviceId: string, (optional)timestamp: long}.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above - braces need to be escaped.

@@ -1253,7 +1265,7 @@ The following error message codes may appear on logs or API responses. Use the f

**Reason:**

The URI does not follow the format `/{serviceId}/{type}/{version}/{endpoint}` or `/{type}/{version}/{serviceId}/{endpoint}`.
The URI does not follow the format /{serviceId}/{type}/{version}/{endpoint} or /{type}/{version}/{serviceId}/{endpoint}.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above - braces need to be escaped.

@@ -1732,7 +1741,7 @@ The following error message codes may appear on logs or API responses. Use the f

**Action:**

Use a valid body in the request. Format of a message: `{userId: string, (optional)timestamp: long}` or `{serviceId: string, (optional)timestamp: long}`.
Use a valid body in the request. Format of a message: {userId: string, (optional)timestamp: long} or {serviceId: string, (optional)timestamp: long}.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above - braces need to be escaped.

@balhar-jakub balhar-jakub deleted the apiml/pr642ca40407e661079456e4571c51370f09cf9bd625d2470b89d9ad00c232e915/changed_errors branch October 9, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants