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

[ErrorIssue] The bot encountered an unhandled error: Not Found #3069

Open
ankhyk opened this issue Oct 27, 2023 · 2 comments
Open

[ErrorIssue] The bot encountered an unhandled error: Not Found #3069

ankhyk opened this issue Oct 27, 2023 · 2 comments

Comments

@ankhyk
Copy link

ankhyk commented Oct 27, 2023

Bug Report

  • What is your query?
    We are adding models for our new service on Azure called Azure Programmable Connectivity. Have raised a PRs to both RPSaaSMaster and RPSaaSDev and the PR validation is failing in a task Swagger LintDiff. Need help in identifying and resolving this issue.

    Link to pipeline which is failing:
    Pipelines - Run Azure OpenAPI logs

    Error details:

    {
    "pluginName": "spectral",
    "extensionName": "@microsoft.azure/openapi-validator",
    "level": "fatal",
    "message": "spectralPluginFunc: Failed validating: 'file:///mnt/vss/_work/1/azure-rest-api-specs-pr/specification/programmableconnectivity/resource-manager/Microsoft.ProgrammableConnectivity/preview/2023-11-01-preview/Gateways.json'. Errors encountered:\nError: Error running Nimma\nError 1: $[paths,'x-ms-paths'].* threw: ErrorWithCause("Function \"patchPropertiesCorrespondToPutProperties\" threw an exception: Cannot read property 'length' of undefined")\nError 2: $[paths,'x-ms-paths'].* threw: ErrorWithCause("Function \"patchPropertiesCorrespondToPutProperties\" threw an exception: Cannot read property 'length' of undefined")\nError 3: $[paths,'x-ms-paths'].* threw: ErrorWithCause("Function \"patchPropertiesCorrespondToPutProperties\" threw an exception: Cannot read property 'length' of undefined")\nError 4: $[paths,'x-ms-paths'].* threw: ErrorWithCause("Function \"patchPropertiesCorrespondToPutProperties\" threw an exception: Cannot read property 'length' of undefined")",
    "code": "FATAL"
    },

  • What is the link if your query contain a github spec PR?
    None.

  • What is the problem?
    The bot encountered an unhandled error: Not Found. To continue to run this bot, please fix the bot source code. But the bot can answer later.

  • What is your expectation?
    The bot can response something at least.

  • What is the Screenshot if have?

image
  • What is the link to your post in Teams Channel?
    Post
  • Anything we should know about your environment.
    No.
@raych1
Copy link

raych1 commented Oct 30, 2023

This issue I cannot repro. If you repro, can you create a new post to retry.

@ankhyk
Copy link
Author

ankhyk commented Nov 3, 2023

The error did not occur again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants