Share via

azure api not getting created

Mandla, Pavan 5 Reputation points
2024-02-13T06:56:51.84+00:00

We are creating azure api using apim operator aks pod. But api not getting created. I see below logs in api operator pod. But values are passed curretly to pod. 2024-02-13 06:32:33 [ERROR] Thread-1 (kopf_thread): Timer 'subscription_sync' failed permanently: (ValidationError) One or more fields contain incorrect values: Code: ValidationError Message: One or more fields contain incorrect values: Exception Details: (ValidationError) API not found Code: ValidationError Message: API not found Target: Scope 2024-02-13 06:32:33 [ERROR] Thread-1 (kopf_thread): Timer 'subscription_sync' failed permanently: (ValidationError) One or more fields contain incorrect values: Code: ValidationError Message: One or more fields contain incorrect values: Exception Details: (ValidationError) API not found Code: ValidationError Message: API not found Target: Scope 2024-02-13 06:32:33 [ERROR] Thread-1 (kopf_thread): Timer 'subscription_sync' failed permanently: (ValidationError) One or more fields contain incorrect values: Code: ValidationError Message: One or more fields contain incorrect values: Exception Details: (ValidationError) API not found Code: ValidationError Message: API not found Target: Scope

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


2 answers

Sort by: Most helpful
  1. Mandla, Pavan 5 Reputation points
    2024-02-21T11:28:01.0666667+00:00

    Issue is caused due to a bug in APIM where api not syncing if empty APIM. It is resolved creating test api and api version.

    Was this answer helpful?

    1 person found this answer helpful.

  2. kobulloc-MSFT 26,861 Reputation points Microsoft Employee Moderator
    2024-02-21T23:58:06.4066667+00:00

    Thank you again, @Mandla, Pavan ! I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue:

    When attempting to create azure api using apim operator aks pod, the api is not getting created and fails with an error (see original question above).

    Solution (by Mandla, Pavan):

    Issue is caused due to a bug in APIM where api not syncing if empty APIM. It is resolved creating test api and api version.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.